diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-29 12:05:45 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-29 12:05:45 +0200 |
commit | 14419ba0b60190b1222cb3581a4ed814ac601cca (patch) | |
tree | d6bf99e28cfd49c786cd2a9736529b08ae7918f7 /bin | |
parent | 2e0063adead1ddd679606bb65f3a848567160751 (diff) | |
download | jenkins.debian.net-14419ba0b60190b1222cb3581a4ed814ac601cca.tar.xz |
common-function: use recognisable temp names
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/common-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common-functions.sh b/bin/common-functions.sh index 30094264..7664337b 100755 --- a/bin/common-functions.sh +++ b/bin/common-functions.sh @@ -12,7 +12,7 @@ common_init() { # check whether this script has been started from /tmp already if [ "${0:0:5}" != "/tmp/" ] ; then # mktemp some place for us... - TTT=$(mktemp --tmpdir=/tmp) + TTT=$(mktemp --tmpdir=/tmp jenkins-script-XXXXXXXX) # prepare cleanup trap common_cleanup INT TERM EXIT # cp $0 to /tmp and run it from there |