[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: setup_pbuilder: fix syntax x2

Mattia Rizzolo mattia at debian.org
Sat Jan 21 09:27:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 327478e4785753238e48055d20452d3c9136b6a5
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Jan 21 10:27:00 2017 +0100

    reproducible debian: setup_pbuilder: fix syntax x2
---
 bin/reproducible_setup_pbuilder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index bbb852e..d7dc90f 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list