From 7a5515a946682311f2303712e507acc04d79aa13 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 4 Oct 2014 22:45:34 +0200 Subject: reproducible: linux-amd64 is a valid arch too --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 09c3c67c..57b87e47 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -169,7 +169,7 @@ for SRCPACKAGE in ${PACKAGES} ; do else VERSION=$(grep "^Version: " ${SRCPACKAGE}_*.dsc| grep -v "GnuPG v" | sort -r | head -1 | cut -d " " -f2-) ARCH=$(grep "^Architecture: " ${SRCPACKAGE}_*.dsc| sort -r | head -1 | cut -d " " -f2) - if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] ; then + if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] && [[ ! "$ARCH" =~ "linux-amd64" ]]; then sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"not for us\", \"$DATE\", \"\")" echo "Package ${SRCPACKAGE} (${VERSION}) shall only be build on \"$ARCH\" and was thus skipped." let "COUNT_SKIPPED=COUNT_SKIPPED+1" -- cgit v1.2.3-54-g00ecf