From 14419ba0b60190b1222cb3581a4ed814ac601cca Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 29 Apr 2014 12:05:45 +0200 Subject: common-function: use recognisable temp names --- bin/common-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2