Obey ARCHS from IDMETA again
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 30 Jun 2015 12:08:45 +0000 (12:08 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 30 Jun 2015 12:08:45 +0000 (12:08 +0000)
id-deb-build/id-pbuild.sh

index 478d816..6676f99 100755 (executable)
@@ -16,6 +16,7 @@ ID_DEB_BUILD=`cd $D0; pwd`
 
 do_help=false
 upload=false
+ARCHS="i386 amd64"
 while test $# -gt 0; do
     case "$1" in
         -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
@@ -221,7 +222,7 @@ if $debian; then
     if grep "Architecture: all" $DSC >/dev/null; then
        USE_ARCHS=i386
     else
-       USE_ARCHS="i386 amd64"
+       USE_ARCHS=$ARCHS
     fi
     for dist in ${DEBIAN_DIST} ${UBUNTU_DIST}; do
        for arch in ${USE_ARCHS}; do