[readonly/geninitrd/BUSYBOX: 12/113] change options "mktemp"
draenog
draenog at pld-linux.org
Sat Nov 2 19:11:02 CET 2013
commit 675dbdde40ab5ef27b1908f19c35e48bbac763e7
Author: inglod <inglod at pld-linux.org>
Date: Sat Nov 18 14:00:10 2000 +0000
change options "mktemp"
svn-id: @1164
geninitrd | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index ce224c6..230186b 100755
--- a/geninitrd
+++ b/geninitrd
@@ -329,11 +329,9 @@ if [ -n "$verbose" ]; then
echo "Using modules: $MODULES"
fi
-MNTIMAGE=`mktemp -u /tmp/initrd.XXXXXX`
+MNTIMAGE=`mktemp -d /tmp/initrd.XXXXXX`
IMAGE=`mktemp -u /tmp/initrd.img-XXXXXX`
-MNTPOINT=`mktemp -u /tmp/initrd.mnt-XXXXXX`
-mkdir $MNTIMAGE
-mkdir $MNTPOINT
+MNTPOINT=`mktemp -d /tmp/initrd.mnt-XXXXXX`
RCFILE=$MNTIMAGE/linuxrc
if [ -f $MNTIMAGE ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/0999a53e93eedcf489380684b998ce04aaddf11c
More information about the pld-cvs-commit
mailing list