projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f69b317
)
Unset TMPDIR to avoid leaking the variable into chroot scripts
author
Michael Prokop
<mika@grml.org>
Wed, 13 Jun 2012 15:52:30 +0000
(17:52 +0200)
committer
Michael Prokop
<mika@grml.org>
Wed, 13 Jun 2012 15:53:16 +0000
(17:53 +0200)
We've reports that with TMPDIR being set the FAI scripts fail
inside the chroot, so let's avoid that.
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
c443cd1
..
45b93e6
100755
(executable)
--- a/
grml-live
+++ b/
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