summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-04 22:45:34 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-04 22:45:34 +0200
commit7a5515a946682311f2303712e507acc04d79aa13 (patch)
tree8e33518360179455a63ba38a408ad90fd0468620 /bin/reproducible_build.sh
parent3e573196aee69fd0ab0d89203717c9ba7347f565 (diff)
downloadjenkins.debian.net-7a5515a946682311f2303712e507acc04d79aa13.tar.xz
reproducible: linux-amd64 is a valid arch too
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
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"