creator/mayflower | 4 ++++ 1 files changed, 4 insertions(+)
New commits: commit 2f590790a4a1222060843bad63688a9b1ca932b5 Author: Jim Meyering jim@meyering.net Date: Fri Nov 16 23:33:53 2007 +0100
Don't let a nonstandard TMPDIR setting cause malfunction.
Signed-off-by: Jim Meyering meyering@redhat.com
diff --git a/creator/mayflower b/creator/mayflower index 0adb26c..5e9e097 100755 --- a/creator/mayflower +++ b/creator/mayflower @@ -8,6 +8,10 @@ # Inspired by similar programs from a bunch of other distributions. #
+# Override any TMPDIR setting from the environment, since this script is +# run in a chroot: a nonstandard $TMPDIR setting would make mktemp fail. +export TMPDIR=/tmp + usage() { echo "$0 [--help] <out-initrd-image> <kernel-version>" echo
livecd@lists.fedoraproject.org