diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-21 13:51:13 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-21 13:51:13 +0100 |
commit | ea147fe648bad4fc313c6bff814e64233960d33c (patch) | |
tree | 96a13a63f346ad4e7c9db15810d5612d942e902c | |
parent | be91021144f90f5cf720db5ac1fb91295824791a (diff) | |
download | jenkins.debian.net-ea147fe648bad4fc313c6bff814e64233960d33c.tar.xz |
reproducible: fix the pipe
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 13c04ea5..2b94ae35 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/ |