From: Frank Terbeck Date: Sun, 8 Aug 2010 19:43:56 +0000 (+0200) Subject: Fix config_debs() and make sure config_debnet() does not globally set options X-Git-Tag: v0.9.14~14 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=67efa5840cc5246ec2e31fcf645bad32e89ae285 Fix config_debs() and make sure config_debnet() does not globally set options --- 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="" diff --git a/debian/changelog b/debian/changelog index 251bd18..9dacc5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-autoconfig (0.9.14) unstable; urgency=low + + * Fix config_debs() and make sure config_debnet() doesn't globally + set options. + + -- Frank Terbeck Sun, 08 Aug 2010 21:42:21 +0200 + grml-autoconfig (0.9.13) unstable; urgency=low [ Ulrich Dangel ]