summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-24 11:25:34 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-24 11:25:34 +0200
commit678627a48885ca9cb3bb3bfc0b993804c7c2a269 (patch)
treeee5c7a7dd47f1450d550927f6c4158e092af954c /bin
parent432a2913ef86f2b540751f22d4f1a000d7c54384 (diff)
downloadjenkins.debian.net-678627a48885ca9cb3bb3bfc0b993804c7c2a269.tar.xz
reproducible: fixup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 02244b3a..d211c2df 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -50,11 +50,11 @@ for SRCPACKAGE in "$@" ; do
sudo pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc
dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_*.changes b2
sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_*.changes
- dcmd rm ${SRCPACKAGE}_*.dsc
set -e
cat b1/${SRCPACKAGE}_*.changes
mkdir -p results
- LOGFILE=./results/$(ls -1 "b1/${SRCPACKAGE}_*.changes" | head -1 | cut -d "/" -f2-).diffp
+ LOGFILE=./results/$(ls ${SRCPACKAGE}_*.dsc)
+ LOGFILE=$(echo ${LOGFILE%.dsc}.diffp)
./misc.git/diffp b1/${SRCPACKAGE}_*.changes b2/${SRCPACKAGE}_*.changes | tee ${LOGFILE}
if ! $(grep -qv '^\*\*\*\*\*' ${LOGFILE}) ; then
figlet ${SRCPACKAGE}
@@ -67,6 +67,7 @@ for SRCPACKAGE in "$@" ; do
let "COUNT_BAD=COUNT_BAD+1"
BAD="${SRCPACKAGE} ${BAD}"
fi
+ dcmd rm ${SRCPACKAGE}_*.dsc
rm b1 b2 -rf
fi
fi