index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | contrib/bacman.sh.in | 2 |
diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in index fcee6a0d..b4bbbbb2 100644 --- a/contrib/bacman.sh.in +++ b/contrib/bacman.sh.in @@ -147,7 +147,7 @@ fi # Begin # msg "Package: ${pkg_namver}" -work_dir=$(mktemp -d --tmpdir bacman.XXXXXXXXXX) +work_dir=$(mktemp -d "${TMPDIR:-/tmp}/bacman.XXXXXXXXXX") cd "$work_dir" || exit 1 # |