diff options
author | Mattia Rizzolo <mattia@debian.org> | 2017-01-21 10:10:42 +0100 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-01-21 10:18:19 +0100 |
commit | cf4edd7e88aa3f020f3581fd67b7e22d67350d53 (patch) | |
tree | c7f7d43dea307c678154c1a1855edc310d043e9b /bin | |
parent | d265e165658a608377bccf9a1ff6d538563ed181 (diff) | |
download | jenkins.debian.net-cf4edd7e88aa3f020f3581fd67b7e22d67350d53.tar.xz |
reproducible debian: setup_pbuilder: fix syntax
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_setup_pbuilder.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index 23a6cf67..bbb852ee 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 |