X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=7fff972e5cf37bdfc923d6a0ea4f50166b62a1ec;hp=0e1ca3b7c04b79a7dc506af1c3cc9e6feaccc94a;hb=67efa5840cc5246ec2e31fcf645bad32e89ae285;hpb=d35e08c33d126b9ce73f2b8e26caf26dbccfa508 diff --git a/autoconfig.functions b/autoconfig.functions index 0e1ca3b..7fff972 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -2031,6 +2031,7 @@ fi # {{{ /cdrom/.*-options config_debs(){ if checkbootparam 'debs' ; then + iszsh && setopt localoptions shwordsplit DEBS="$(getbootparam 'debs' 2>>$DEBUG)" if ! echo $DEBS | grep -q '/'; then # backwards compatibility: if no path is given get debs from debs/ @@ -2428,7 +2429,7 @@ config_lvm(){ # {{{ debnet: setup network based on an existing one found on a partition config_debnet(){ if checkbootparam 'debnet' ; then - iszsh && setopt shwordsplit + iszsh && setopt localoptions shwordsplit DEVICES="$(< /proc/partitions tail -n +3 | awk '{print "/dev/"$4}' | tr "\n" " ")" DEVICES="$DEVICES $(ls /dev/mapper/*)" FOUND_DEBNET=""