X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/ec193ed6907374bb16731c634f1b08d60cfca8ef..refs/tags/sipb-xen-dev/25:/sx-build-release diff --git a/sx-build-release b/sx-build-release index a23b03e..7705662 100755 --- a/sx-build-release +++ b/sx-build-release @@ -29,8 +29,12 @@ else fi cd .. -reprepro-env include unstable `pwd`/${Source}_*${Version}*.changes -reprepro-env include stable `pwd`/${Source}_*${Version}*.changes +[ $Distribution = 'unstable' ] \ + || echo "$(basename $0): warning: Distribution is ${Distribution}, script expects unstable" +changesfile=`pwd`/${Source}_*${Version}*.changes +reprepro-env include unstable $changesfile +reprepro-env copy stable unstable ${Source} \ + $(perl '-F:\s+' -lane 'print $F[1]." " if /^Binary/' <$changesfile) cd .. rm -rf build-release