diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-10 22:18:15 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-10-16 23:43:16 +0200 |
commit | 71e960e95f880e02cb735faa14d28565b6312f7c (patch) | |
tree | ebabc454eb11c28607cbfbad611d3537f6fef4f5 /hooks/memdisk | |
parent | 5d635b6d9553cf266d3e15e450feff5337fbc28a (diff) | |
download | mkinitcpio-71e960e95f880e02cb735faa14d28565b6312f7c.tar.gz mkinitcpio-71e960e95f880e02cb735faa14d28565b6312f7c.tar.xz |
mkinitcpio: avoid stomping on TMPDIR from the environment
cc36db45 was a bit too strict about localizing variables and blew out
TMPDIR, which might be a legit variable sourced from the calling
environment. Restore this behavior with a bit of refactoring, and
additionally add in a check to make sure the temporary directory is
writeable before proceeding.
Fixes FS#26373.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'hooks/memdisk')
0 files changed, 0 insertions, 0 deletions