[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix the pipe

Holger Levsen holger at moszumanska.debian.org
Sat Mar 21 12:51:16 UTC 2015


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 ea147fe648bad4fc313c6bff814e64233960d33c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 21 13:51:13 2015 +0100

    reproducible: fix the pipe
---
 bin/reproducible_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 13c04ea..2b94ae3 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -25,7 +25,7 @@ create_results_dirs() {
 
 cleanup_all() {
 	if [ "$SAVE_ARTIFACTS" = "1" ] ; then
-		local random=$(tr -cd '[:alnum:]' < /dev/urandom | head -c5 ; echo)
+		local random=$(head /dev/urandom | tr -cd '[:alnum:]'| head -c5)
 		local ARTIFACTS="artifacts/r00t-me/${SRCPACKAGE}_${SUITE}_tmp-${random}"
 		mkdir -p /var/lib/jenkins/userContent/$ARTIFACTS
 		cp -r $TMPDIR/* /var/lib/jenkins/userContent/$ARTIFACTS/

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