diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-05 01:40:48 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-05 01:40:48 +0200 |
commit | 2d2f11d5f675244a688770e1312045839636b75f (patch) | |
tree | 827eb0aed704eda3034261542e724f8834c98579 /bin | |
parent | 7a5515a946682311f2303712e507acc04d79aa13 (diff) | |
download | jenkins.debian.net-2d2f11d5f675244a688770e1312045839636b75f.tar.xz |
reproducible: detect Architecture correctly
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 57b87e47..12ab291a 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -168,7 +168,7 @@ for SRCPACKAGE in ${PACKAGES} ; do continue 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) + ARCH=$(grep "^Architecture: " ${SRCPACKAGE}_*.dsc| sort -r | head -1 | cut -d " " -f2-) 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." |