diff options
Diffstat (limited to 'contrib/bacman.sh.in')
-rw-r--r-- | contrib/bacman.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 # |