projects
/
grml2usb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release new version 0.16.3
[grml2usb.git]
/
grml2iso
diff --git
a/grml2iso
b/grml2iso
index
632806a
..
d8f4be5
100755
(executable)
--- a/
grml2iso
+++ b/
grml2iso
@@
-7,6
+7,9
@@
# License: This file is licensed under the GPL v2 or any later version.
################################################################################
# License: This file is licensed under the GPL v2 or any later version.
################################################################################
+# make sure we have the sbin directories in our PATH to find grml2usb ootb
+PATH="${PATH}:/sbin:/usr/local/sbin:/usr/sbin"
+
# define function getfilesize before "set -e" {{{
if stat --help >/dev/null 2>&1; then
getfilesize='stat -c %s' # GNU stat
# define function getfilesize before "set -e" {{{
if stat --help >/dev/null 2>&1; then
getfilesize='stat -c %s' # GNU stat
@@
-34,7
+37,7
@@
else
fi
if ! which isohybrid >/dev/null 2>&1 ; then
fi
if ! which isohybrid >/dev/null 2>&1 ; then
- echo "Error: isohybrid executable not found (install syslinux/isolinux?)." >&2
+ echo "Error: isohybrid executable not found (install syslinux/isolinux
/syslinux-utils
?)." >&2
exit 1
fi
# }}}
exit 1
fi
# }}}
@@
-290,10
+293,10
@@
Options:
echo "isohybrid version supports --uefi option"
ISOHYBRID_OPTIONS=--uefi
fi
echo "isohybrid version supports --uefi option"
ISOHYBRID_OPTIONS=--uefi
fi
-
- echo "Creating dd-able ISO using isohybrid"
- isohybrid $ISOHYBRID_OPTIONS "$ISOFILE"
fi
fi
+
+ echo "Creating dd-able ISO using isohybrid"
+ isohybrid $ISOHYBRID_OPTIONS "$ISOFILE"
# }}}
# cleanup {{{
# }}}
# cleanup {{{