X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/40aa5327ab362335d9967d207a1b4ab2d528541c..183f9af2bbcad8b0035d515ef1526fa080bb1831:/invirt-build-release diff --git a/invirt-build-release b/invirt-build-release index 714061e..12a998b 100755 --- a/invirt-build-release +++ b/invirt-build-release @@ -1,4 +1,5 @@ #!/bin/bash +distribution=hardy svnuri="$(invirt-getconf svn.uri)" set -e @@ -19,10 +20,10 @@ for package; do eval $(perl -ne 'print if s/^(Architecture): /\1=/' ${Source}_${Version}.dsc) case $Architecture in all) - sbuild -d hardy --arch-all ${Source}_${Version}.dsc;; + sbuild -d $distribution --arch-all ${Source}_${Version}.dsc;; any) - sbuild -d hardy --arch amd64 ${Source}_${Version}.dsc - sbuild -d hardy --arch i386 ${Source}_${Version}.dsc;; + sbuild -d $distribution --arch amd64 --arch-all ${Source}_${Version}.dsc + sbuild -d $distribution --arch i386 ${Source}_${Version}.dsc;; *) echo "invirt-build-release: arch '$Architecture' unimplemented" >&2 exit 1