summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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