small modifications for the luke cluster

Former-commit-id: 55a83611220f824a0efdb1267816f98df984152e
Former-commit-id: e01bf6440c2981904f31807766e9e48aea8b18c1
This commit is contained in:
2015-11-09 15:27:32 +01:00
parent 8b27f23a8e
commit ae703c70d6
3 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@ function getAbsolutePath {
# Manage temp directory
function pushTmpDir {
TMP_DIR=$(mktemp -d -t "$1_proc_$$_")
TMP_DIR=$(mktemp -d -t "$1_proc_$$_XXXXXX")
pushd $TMP_DIR >& /dev/null
TMP_DIR_STACK="$TMP_DIR $TMP_DIR_STACK"
logdebug "Pushing temp directory $TMP_DIR"