X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2iso;fp=grml2iso;h=3e4868852aad03f0161f5df49a72a83e6f41bbfc;hp=b29c4dff5ca88ca2e8684ae2c5f58aace15198de;hb=8126bbf87f43e55098d09cd7592a60418ea19d2a;hpb=78ae858b306428eb130c8338d103ba2779c12857 diff --git a/grml2iso b/grml2iso index b29c4df..3e48688 100755 --- a/grml2iso +++ b/grml2iso @@ -6,6 +6,8 @@ # License: This file is licensed under the GPL v2 or any later version. ################################################################################ +set -e -o pipefail + # make sure we have the sbin directories in our PATH to find grml2usb ootb PATH="${PATH}:/sbin:/usr/local/sbin:/usr/sbin" @@ -32,8 +34,6 @@ fi # }}} # helper stuff {{{ - set -e - usage() { echo >&2 "Usage: $0 [OPTIONS] -o target.iso source1.iso [source2.iso ...]" echo >&2 " @@ -56,7 +56,7 @@ Options: created by mktemp(1). Examples: - $0 -s http://192.168.23.42:8000/grml/ -o small.iso grml64-small_2018.12.iso + $0 -s http://192.168.23.42:8000/grml/ -o small.iso grml64-small_2021.07.iso Will generate a file small.iso which tries to download the squashfs file from http://192.168.23.42:8000/grml/ - the squashfs file is placed in the same