diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-29 15:29:52 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-29 15:29:52 +0200 |
commit | 31aeb53612836770594d3a81650ee44d7410c96e (patch) | |
tree | 58cd815b8c5be9799fc42534ecbf6db4ce6b4240 /bin | |
parent | 91211e44260fb85e295d39eb5310c1bb695e807a (diff) | |
download | jenkins.debian.net-31aeb53612836770594d3a81650ee44d7410c96e.tar.xz |
reproducible: any is also a valid arch
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 47fe1de5..24128f48 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -94,7 +94,7 @@ for SRCPACKAGE in $PACKAGES ; do sqlite3 -init $INIT $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"404\", \"$DATE\", \"\")" else ARCH=$(grep "^Architecture: " ${SRCPACKAGE}_*.dsc| cut -d ":" -f2) - if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] ; then + if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] ; 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" |