diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-21 17:17:07 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-02-21 17:17:07 +0000 |
commit | 443ddeda52e94a979dd8dcb93f81e9a6ecce1847 (patch) | |
tree | 62c161e02adc6636712dd054e18e0ef15e0f9461 /run-bootstrap-in-chroot | |
parent | 913e365bfa29cf1769a2923211f29215b20badf4 (diff) | |
download | morph-443ddeda52e94a979dd8dcb93f81e9a6ecce1847.tar.gz |
Export TMPDIR to avoid confusion.
If the TMPDIR variable is not yet set, then setting it without
exporting will not make it available to child processes. Thus,
let's just make sure we export it and everyone will be happy.
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-x | run-bootstrap-in-chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot index 9d9d8133..9f90d50b 100755 --- a/run-bootstrap-in-chroot +++ b/run-bootstrap-in-chroot @@ -71,7 +71,7 @@ cat >"./do-squeeze-chroot" <<EOF #!/bin/sh # clear the temporary directory used outisde the chroot -TMPDIR= +export TMPDIR= if mount -t proc proc "$dir/proc"; then trap "umount \"$dir/proc\"" INT TERM EXIT |