summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-01-21 10:27:00 +0100
committerMattia Rizzolo <mattia@debian.org>2017-01-21 10:27:00 +0100
commit327478e4785753238e48055d20452d3c9136b6a5 (patch)
treeedd29326a7b5ce1aca2de5998bbc83d5341e32d5 /bin
parentcf4edd7e88aa3f020f3581fd67b7e22d67350d53 (diff)
downloadjenkins.debian.net-327478e4785753238e48055d20452d3c9136b6a5.tar.xz
reproducible debian: setup_pbuilder: fix syntax x2
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_pbuilder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index bbb852ee..d7dc90fa 100755
--- a/bin/reproducible_setup_pbuilder.sh
+++ b/bin/reproducible_setup_pbuilder.sh
@@ -162,7 +162,7 @@ STAMP=/var/log/jenkins/$SUITE-reproducible-base.tgz.stamp
if [ -f "$STAMP" ] ; then
if [ -f "$STAMP" -a $(stat -c %Y "$STAMP") -gt $(date +%s) ]; then
- if [ $(stat -c %Y "$STAMP") -gt $(date +%s -d "+ 6 months")]; then
+ if [ $(stat -c %Y "$STAMP") -gt $(date +%s -d "+ 6 months") ]; then
echo "Warning: stamp file is too far in the future, assuming something is wrong and deleting it"
rm -v "$STAMP"
else