File pre_checkin.sh of Package WebKitGtk
#!/bin/bash # This script is called automatically during autobuild checkin. # Don't risk license violations in included .exe and .dll files archive=`find . -name WebKit-r*.tar.bz2` echo Decompressing $archive mkdir -p work pushd work tar xfj ../$archive echo Deleting unnecessary .exe and .dll files rm -f WebKit-r*/WebKitTools/vcbin/midl.exe rm -f WebKit-r*/WebKitTools/vcbin/cl.exe rm -f WebKit-r*/WebKitTools/CygwinDownloader/cygwin-downloader.zip rm ../$archive echo Compressing $archive tar cfj ../$archive WebKit-r* popd rm -rf work