2 svnuri=file:///afs/sipb.mit.edu/project/xen/svn
6 echo " usage: sx-build-release trunk/packages/package_name"
10 if [ -d build-release ] ; then
11 echo "a previous build release directory exists; please clean up"
16 svn co $svnuri/$package build-release
18 cd build-release/`basename $package`
20 |eval `perl '-F:\s+' -lane 'print $F[0]."=".$F[1] if /^Version|^Source|^Distribution/'`
22 dpkg-buildpackage -us -uc -rfakeroot
23 svn cp $svnuri/$package $svnuri/package_tags/$Source/$Version -m "Tag $Version of $Source"
24 echo reprepro-env include $Distribution ../$Source*$Version.changes