[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: fix assumption and requirements

Holger Levsen holger at layer-acht.org
Sat Apr 15 14:33:23 UTC 2017


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

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

commit 8f255e38f5490b639553eca734c09901663ef23a
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Apr 15 16:33:15 2017 +0200

    reproducible Debian: fix assumption and requirements
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_service.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index ac0e87f..6b24cea 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -19,7 +19,7 @@ set -x
 /bin/sleep $(echo "scale=1 ; $(shuf -i 1-230 -n 1)/10" | bc )
 
 BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1
-OLD_ID=$((ls -1rt $BUILD_BASE||echo 0)|tail -1)
+OLD_ID=$(ls -1rt $BUILD_BASE|grep -v latest|tail -1)
 let BUILD_ID=OLD_ID+1
 mkdir -p $BUILD_BASE/$BUILD_ID
 ln -sf $BUILD_BASE/$BUILD_ID $BUILD_BASE/latest

-- 
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