Skip to content
Browse files

Unset TMPDIR to avoid leaking the variable into chroot scripts

We've reports that with TMPDIR being set the FAI scripts fail
inside the chroot, so let's avoid that.
  • Loading branch information...
1 parent f69b317 commit 4e027c7e8e37512e54f4fa2241a8a9424fba3352 @mika mika committed Jun 13, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 grml-live
3 grml-live
@@ -12,6 +12,9 @@
export LANG=C
export LC_ALL=C
+# avoid leaking into chroots
+unset TMPDIR
# define function getfilesize before "set -e"
if stat --help >/dev/null 2>&1; then
getfilesize='stat -c %s' # GNU stat

0 comments on commit 4e027c7

Please sign in to comment.
Something went wrong with that request. Please try again.