FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
build-sync.sh 485 B
Newer Older
Silas S. Brown's avatar
Silas S. Brown committed
#!/bin/bash
wget -N http://people.pwf.cam.ac.uk/ssb22/gradint/gradint-build.bgz
rm -rf gradint
tar -jxvf gradint-build.bgz
rm -rf gradint/extras # TODO shouldn't be in gradint-build.bgz anyway
diff -r gradint-build gradint|grep "^Only in gradint-build"|grep -v \\.svn|sed -e 's,Only in ,svn del ,' -e 's,: ,/,'
cp -pur gradint/* gradint-build/
Silas S. Brown's avatar
Silas S. Brown committed
find gradint-build -not -regex \\.svn -exec svn add '{}' ';'
Silas S. Brown's avatar
Silas S. Brown committed
if test "a$Msg" == a; then export Msg="Gradint update"; fi
svn commit -m "$Msg"