index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-11-02 21:51:09 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-11-04 19:34:00 +0100 |
commit | fbbcc30e3dbe16f34c94d210f3c7c74762216874 (patch) | |
tree | 0ac877265cf08a0ce29aaf9ea9c2599e81b87361 | |
parent | c1752bd716c3796f55a0197b87554f603b73034b (diff) |
-rw-r--r-- | lib/common.sh | 2 |
diff --git a/lib/common.sh b/lib/common.sh index e826e97..6bbf6de 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -58,7 +58,7 @@ stat_done() { } setup_workdir() { - [[ -z $WORKDIR ]] && WORKDIR=$(mktemp -d /tmp/$(basename $0).XXXXXXXXXX) + [[ -z $WORKDIR ]] && WORKDIR=$(mktemp -d --tmpdir "${0##*/}.XXXXXXXXXX") } cleanup() { |