diff options
Diffstat (limited to 'bin')
-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 ff950a44..d1713e49 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -26,7 +26,7 @@ create_results_dirs() { cleanup_all() { set -x if [ "$SAVE_ARTIFACTS" = "1" ] ; then - local random=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w5 | head -1) + local random=$(tr -cd '[:alnum:]' < /dev/urandom | head -c5 ; echo) local ARTIFACTS="artifacts/r00t-me/tmp-${random}/${SUITE}/${SRCPACKAGE}" mkdir -p /var/lib/jenkins/userContent/$ARTIFACTS cp -rv $TMPDIR/* /var/lib/jenkins/userContent/$ARTIFACTS/ |