summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index d211c2df..7c7cefc4 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -52,11 +52,12 @@ for SRCPACKAGE in "$@" ; do
sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_*.changes
set -e
cat b1/${SRCPACKAGE}_*.changes
- mkdir -p results
- LOGFILE=./results/$(ls ${SRCPACKAGE}_*.dsc)
+ mkdir -p results/_success
+ LOGFILE=$(ls ${SRCPACKAGE}_*.dsc)
LOGFILE=$(echo ${LOGFILE%.dsc}.diffp)
- ./misc.git/diffp b1/${SRCPACKAGE}_*.changes b2/${SRCPACKAGE}_*.changes | tee ${LOGFILE}
- if ! $(grep -qv '^\*\*\*\*\*' ${LOGFILE}) ; then
+ ./misc.git/diffp b1/${SRCPACKAGE}_*.changes b2/${SRCPACKAGE}_*.changes | tee ./results/${LOGFILE}
+ if ! $(grep -qv '^\*\*\*\*\*' ./results/${LOGFILE}) ; then
+ mv ./results/${LOGFILE} ./results/_success/
figlet ${SRCPACKAGE}
echo
echo "${SRCPACKAGE} build successfull."