summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-18 11:13:52 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-18 11:13:52 +0200
commitf339eaf17016e809d947241cbe0e876902e86753 (patch)
treebaf48c82ce4b771039e431524b5fcf13f8560031 /bin
parentaa1caee608ede2cc0d89592ec7407de288df2a96 (diff)
downloadjenkins.debian.net-f339eaf17016e809d947241cbe0e876902e86753.tar.xz
reproducible: deal with some packages.... sysprofile from 2003
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 c7084e48..0876de9f 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -78,7 +78,7 @@ else
exit 0
else
set -e
- VERSION=$(grep "^Version: " ${SRCPACKAGE}_*.dsc| egrep -v '(GnuPG v|GnuPG/MacGPG2)' | cut -d " " -f2-)
+ VERSION=$(grep "^Version: " ${SRCPACKAGE}_*.dsc| head -1 | egrep -v '(GnuPG v|GnuPG/MacGPG2)' | cut -d " " -f2-)
# EPOCH_FREE_VERSION was too long
EVERSION=$(echo $VERSION | cut -d ":" -f2)
# preserve RBUILDLOG as TMPLOG, then cleanup userContent from previous builds,