]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kconfig: add -e and -u options to *conf-cfg.sh scripts
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 11 Jun 2024 16:08:05 +0000 (01:08 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Jul 2024 16:08:36 +0000 (01:08 +0900)
commite570ef438fcd279514691f0aae903272d45e45e9
treeb215bd0b6f470982ba676c957edf2df2b22d4322
parentb1a9a5e04767e2a78783e19c9e55c25812ceccc3
kconfig: add -e and -u options to *conf-cfg.sh scripts

Set -e to make these scripts fail on the first error.

Set -u because these scripts are invoked by Makefile, and do not work
properly without necessary variables defined.

Both options are described in POSIX. [1]

[1]: https://pubs.opengroup.org/onlinepubs/009604499/utilities/set.html

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/kconfig/gconf-cfg.sh
scripts/kconfig/mconf-cfg.sh
scripts/kconfig/nconf-cfg.sh
scripts/kconfig/qconf-cfg.sh