diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-10-13 17:23:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-13 18:21:05 +0200 |
commit | 35e6136f4b1b45a7cb736ca0608da7f44c74b233 (patch) | |
tree | 1a6ef2b68e217b7a4b4cbaef126ab1ad7ac5816d /contrib/PKGBUILD.vim | |
parent | 6be492d2f71bf0968b836e17a0f59a0e32572b49 (diff) | |
download | pacman-35e6136f4b1b45a7cb736ca0608da7f44c74b233.tar.gz pacman-35e6136f4b1b45a7cb736ca0608da7f44c74b233.tar.xz |
scripts/*.sh.in: Honor TMPDIR environment variable
Replace "/tmp" with "${TMPDIR:-/tmp}" to allow for overriding the
hardcoded path.
Since we only use "/tmp" in conjunction with mktemp(1), we could also
have used "--tmpdir", which is GNU-ish, however (and the BSD counterpart
"-t" has been deprecated in GNU mktemp).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/PKGBUILD.vim')
0 files changed, 0 insertions, 0 deletions