summaryrefslogtreecommitdiff
path: root/gpxe/src/util/geniso
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/util/geniso')
-rwxr-xr-xgpxe/src/util/geniso5
1 files changed, 2 insertions, 3 deletions
diff --git a/gpxe/src/util/geniso b/gpxe/src/util/geniso
index d7ddbd2b..7c2f7672 100755
--- a/gpxe/src/util/geniso
+++ b/gpxe/src/util/geniso
@@ -17,13 +17,12 @@ esac
isolinux_bin=${ISOLINUX_BIN:-util/isolinux.bin}
if [ ! -r $isolinux_bin ]
then
- echo $0: $isolinux_bin not found, please install, or set ISOLINUX_BIN in arch/i386/config correctly
+ echo $0: $isolinux_bin not found, please install, or set ISOLINUX_BIN in arch/i386/Makefile correctly
exit 1
fi
out=$1
shift
-dir=bin/iso.dir
-mkdir -p $dir
+dir=`mktemp -d bin/iso.dir.XXXXXX`
cfg=$dir/isolinux.cfg
cp -p $isolinux_bin $dir
cat > $cfg <<EOF