diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-04-18 03:34:30 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-24 15:54:06 +0200 |
commit | 03acea832ad39fa371781f045c39677a02d1156a (patch) | |
tree | 488c4e385749f0f08ac2286a250095048af7435e /scripts/pacman-db-upgrade.sh.in | |
parent | 1b494ab77198a6cbb9c06a13435159641e2dc0c5 (diff) | |
download | pacman-03acea832ad39fa371781f045c39677a02d1156a.tar.gz pacman-03acea832ad39fa371781f045c39677a02d1156a.tar.xz |
validate bash scripts with 'bash -n' during build.
Use the no-exec mode of $(BASH_SHELL) to check for syntax errors in
shell scripts. Since we use the extglob feature in various places, this
requires that we pass -O extglob to the shell as well, to ensure that
the parser is armed to handle this syntax.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'scripts/pacman-db-upgrade.sh.in')
0 files changed, 0 insertions, 0 deletions