summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-29 12:05:45 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-29 12:05:45 +0200
commit14419ba0b60190b1222cb3581a4ed814ac601cca (patch)
treed6bf99e28cfd49c786cd2a9736529b08ae7918f7
parent2e0063adead1ddd679606bb65f3a848567160751 (diff)
downloadjenkins.debian.net-14419ba0b60190b1222cb3581a4ed814ac601cca.tar.xz
common-function: use recognisable temp names
-rwxr-xr-xbin/common-functions.sh2
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