Commit 14419ba0 authored by Holger Levsen's avatar Holger Levsen

common-function: use recognisable temp names

parent 2e0063ad
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment