summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-21 13:51:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-21 13:51:13 +0100
commitea147fe648bad4fc313c6bff814e64233960d33c (patch)
tree96a13a63f346ad4e7c9db15810d5612d942e902c /bin
parentbe91021144f90f5cf720db5ac1fb91295824791a (diff)
downloadjenkins.debian.net-ea147fe648bad4fc313c6bff814e64233960d33c.tar.xz
reproducible: fix the pipe
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
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/