diff options
author | Denys Vlasenko | 2021-03-10 16:31:05 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-03-10 16:31:05 +0100 |
commit | cbfdeba6609b702432886ecf3e2786818a2bc55b (patch) | |
tree | ad5e1e7204c91e9a01fa9114970626dd1c9362c2 /shell | |
parent | b6e6c83ab301ac92f649d63f5cfe0fddde3d142e (diff) | |
download | busybox-cbfdeba6609b702432886ecf3e2786818a2bc55b.zip busybox-cbfdeba6609b702432886ecf3e2786818a2bc55b.tar.gz |
hush: make LINENO selectable without BASH-COMPAT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/hush.c b/shell/hush.c index 5eb6fa3..7cc678f 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -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 |