X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2iso;h=43f57c1b9992ee7e6c194856ebcedd0256cc616b;hp=632806abc829023fec77dadf0a9bb88bca1805bd;hb=2b2c97afc1aae8c4a38c31921b21638d27638240;hpb=37fa9f86ad3a7f890e2c2c5fe3ca296ddbc20a4a diff --git a/grml2iso b/grml2iso index 632806a..43f57c1 100755 --- a/grml2iso +++ b/grml2iso @@ -7,6 +7,9 @@ # 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 @@ -290,10 +293,10 @@ Options: echo "isohybrid version supports --uefi option" ISOHYBRID_OPTIONS=--uefi fi - - echo "Creating dd-able ISO using isohybrid" - isohybrid $ISOHYBRID_OPTIONS "$ISOFILE" fi + + echo "Creating dd-able ISO using isohybrid" + isohybrid $ISOHYBRID_OPTIONS "$ISOFILE" # }}} # cleanup {{{