summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-23 10:29:26 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-23 10:29:26 +0200
commita352d25475a4407e3005cb542f0d3e039f803b46 (patch)
tree27aa3968bc03567118efcad6b9bd2b662fde6286
parentd726f97ab30e25db250f0f32e5a13d1499a1c345 (diff)
downloadjenkins.debian.net-a352d25475a4407e3005cb542f0d3e039f803b46.tar.xz
reproducible: fix typos
-rwxr-xr-xbin/reproducible_build.sh8
-rwxr-xr-xbin/reproducible_common.sh4
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 32414615..5c2a42a4 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -308,8 +308,8 @@ call_diffoscope_on_changes_files() {
local TEMP=$(mktemp --tmpdir=$TMPDIR -d dbd-tmp-XXXXXXX)
DIFFOSCOPE="$(schroot --directory $TMPDIR -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1 || true)"
LOG_RESULT=$(echo $DIFFOSCOPE | grep '^E: 15binfmt: update-binfmts: unable to open' || true)
- if [ ! -z "LOG_RESULT" ] ; then
- echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not availble, will sleep 2min and retry."
+ if [ ! -z "$LOG_RESULT" ] ; then
+ echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not available, will sleep 2min and retry."
sleep 2m
DIFFOSCOPE="$(schroot --directory $TMPDIR -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1 || echo 'diffoscope_version_not_available')"
fi
@@ -328,9 +328,9 @@ call_diffoscope_on_changes_files() {
2>&1 ) >> $TMPLOG
RESULT=$?
LOG_RESULT=$(grep '^E: 15binfmt: update-binfmts: unable to open' $TMPLOG || true)
- if [ ! -z "LOG_RESULT" ] ; then
+ if [ ! -z "$LOG_RESULT" ] ; then
rm -f $TMPLOG $TMPDIR/${DBDREPORT} $TMPDIR/$DBDTXT
- echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not availble, will sleep 2min and retry."
+ echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not available, will sleep 2min and retry."
sleep 2m
# remember to also modify the retry diffoscope call 15 lines above
( timeout $TIMEOUT schroot \
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 0e8d1226..ec7a62b8 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -447,9 +447,9 @@ call_diffoscope() {
) 2>&1 >> $TMPLOG
RESULT=$?
LOG_RESULT=$(grep '^E: 15binfmt: update-binfmts: unable to open' $TMPLOG || true)
- if [ ! -z "LOG_RESULT" ] ; then
+ if [ ! -z "$LOG_RESULT" ] ; then
rm -f $TMPLOG $TMPDIR/$1/$2.html
- echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not availble, will sleep 2min and retry."
+ echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not available, will sleep 2min and retry."
sleep 2m
# remember to also modify the retry diffoscope call 15 lines above
( timeout $TIMEOUT schroot \