X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=83ae0d3c49f6d979e5ff5ae22c324f84cee371bf;hp=2544c8542fab181c58114c3c54b611a161b002b7;hb=818e52abdc2bd149d994d55febf3f5435255a21b;hpb=3067ce85df1efd3fec199d5ebb079ff5ec2d93ee;ds=sidebyside diff --git a/grml-debootstrap b/grml-debootstrap index 2544c85..83ae0d3 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -104,10 +104,10 @@ fi # cmdline handling {{{ # source external command line parameter-processing script -if [ -r /usr/share/grml-debootstrap/functions/cmdlineopts.clp ] ; then - . /usr/share/grml-debootstrap/functions/cmdlineopts.clp -elif [ -r ./cmdlineopts.clp ] ; then +if [ -r ./cmdlineopts.clp ] ; then . ./cmdlineopts.clp +elif [ -r /usr/share/grml-debootstrap/functions/cmdlineopts.clp ] ; then + . /usr/share/grml-debootstrap/functions/cmdlineopts.clp else echo "Error: cmdline function file not found, exiting.">&2 exit 1