summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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/