projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syntax check before parsing config files
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
ec2453a
..
7726ecd
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-17,8
+17,10
@@
set -o pipefail
trap "error_handler" ERR
# }}}
trap "error_handler" ERR
# }}}
+bash -n /etc/debootstrap/config
# shellcheck source=config
. /etc/debootstrap/config || exit 1
# shellcheck source=config
. /etc/debootstrap/config || exit 1
+bash -n /etc/debootstrap/variables
# shellcheck source=tests/shellcheck-stub-debootstrap-variables
. /etc/debootstrap/variables || exit 1
# shellcheck source=tests/shellcheck-stub-debootstrap-variables
. /etc/debootstrap/variables || exit 1