X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=grml-debootstrap;h=f1afb1906673a5a65688aa57a5bec295848548da;hb=b98747dfc77136aedff9c5beb89808fd35aefa58;hp=01c7665276225e0e8e2d7cc902522543bee24944;hpb=2353722d53b5e53766e4e90605d31333343b381a;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 01c7665..f1afb19 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,6 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -prog_real=`readlink -f -- $0` VERSION='0.23' MNTPOINT="/mnt/debootstrap.$$" @@ -105,7 +104,7 @@ fi # cmdline handling {{{ # source external command line parameter-processing script -. $prog_real.clp +. /usr/share/grml-debootstrap/functions/cmdlineopts.clp # == business-logic of command line parameter-processing @@ -119,6 +118,8 @@ fi if ! . "$CONFFILES/config" ; then eerror "Error reading config file $CONFFILES/config" ; eend 1 ; exit 1 fi + # restore the command line parameter value + CONFFILES=$_opt_confdir } # }}}