summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-05 01:40:48 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-05 01:40:48 +0200
commit2d2f11d5f675244a688770e1312045839636b75f (patch)
tree827eb0aed704eda3034261542e724f8834c98579 /bin
parent7a5515a946682311f2303712e507acc04d79aa13 (diff)
downloadjenkins.debian.net-2d2f11d5f675244a688770e1312045839636b75f.tar.xz
reproducible: detect Architecture correctly
Diffstat (limited to 'bin')
-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 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."