X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;fp=grml-debootstrap;h=5173dc1f510d1acd385ab49f8f6ff80d7f917d21;hp=759deaec8590215f50f03d3d8555293cc3768f0d;hb=4812ce411ed1a55de53c4c611d616d9b5149b9b4;hpb=521689adb03b9c9db39843112e3326bb5f8e6df6 diff --git a/grml-debootstrap b/grml-debootstrap index 759deae..5173dc1 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -346,6 +346,7 @@ stage() { # source main configuration file {{{ if [ -r /etc/debootstrap/config ] ; then + bash -n /etc/debootstrap/config # shellcheck disable=SC1091 . /etc/debootstrap/config fi @@ -657,6 +658,7 @@ fi # source specified configuration file {{{ if [ -n "$CONFIGFILE" ] ; then einfo "Reading specified config file $CONFIGFILE." + bash -n "$CONFIGFILE" # shellcheck disable=SC1091 source=config if ! . "$CONFIGFILE" ; then eerror "Error reading config file $CONFIGFILE" ; bailout 1