hush: make LINENO selectable without BASH-COMPAT

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-03-10 16:31:05 +01:00
parent b6e6c83ab3
commit cbfdeba660

View File

@ -127,11 +127,6 @@
//config: help
//config: Enable {abc,def} extension.
//config:
//config:config HUSH_LINENO_VAR
//config: bool "$LINENO variable"
//config: default y
//config: depends on HUSH_BASH_COMPAT
//config:
//config:config HUSH_BASH_SOURCE_CURDIR
//config: bool "'source' and '.' builtins search current directory after $PATH"
//config: default n # do not encourage non-standard behavior
@ -139,6 +134,11 @@
//config: help
//config: This is not compliant with standards. Avoid if possible.
//config:
//config:config HUSH_LINENO_VAR
//config: bool "$LINENO variable (bashism)"
//config: default y
//config: depends on SHELL_HUSH
//config:
//config:config HUSH_INTERACTIVE
//config: bool "Interactive mode"
//config: default y