diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-03-10 16:31:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-03-10 16:31:05 +0100 |
commit | cbfdeba6609b702432886ecf3e2786818a2bc55b (patch) | |
tree | ad5e1e7204c91e9a01fa9114970626dd1c9362c2 | |
parent | b6e6c83ab301ac92f649d63f5cfe0fddde3d142e (diff) | |
download | busybox-w32-cbfdeba6609b702432886ecf3e2786818a2bc55b.tar.gz busybox-w32-cbfdeba6609b702432886ecf3e2786818a2bc55b.tar.bz2 busybox-w32-cbfdeba6609b702432886ecf3e2786818a2bc55b.zip |
hush: make LINENO selectable without BASH-COMPAT
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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 5eb6fa396..7cc678f3c 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -127,11 +127,6 @@ | |||
127 | //config: help | 127 | //config: help |
128 | //config: Enable {abc,def} extension. | 128 | //config: Enable {abc,def} extension. |
129 | //config: | 129 | //config: |
130 | //config:config HUSH_LINENO_VAR | ||
131 | //config: bool "$LINENO variable" | ||
132 | //config: default y | ||
133 | //config: depends on HUSH_BASH_COMPAT | ||
134 | //config: | ||
135 | //config:config HUSH_BASH_SOURCE_CURDIR | 130 | //config:config HUSH_BASH_SOURCE_CURDIR |
136 | //config: bool "'source' and '.' builtins search current directory after $PATH" | 131 | //config: bool "'source' and '.' builtins search current directory after $PATH" |
137 | //config: default n # do not encourage non-standard behavior | 132 | //config: default n # do not encourage non-standard behavior |
@@ -139,6 +134,11 @@ | |||
139 | //config: help | 134 | //config: help |
140 | //config: This is not compliant with standards. Avoid if possible. | 135 | //config: This is not compliant with standards. Avoid if possible. |
141 | //config: | 136 | //config: |
137 | //config:config HUSH_LINENO_VAR | ||
138 | //config: bool "$LINENO variable (bashism)" | ||
139 | //config: default y | ||
140 | //config: depends on SHELL_HUSH | ||
141 | //config: | ||
142 | //config:config HUSH_INTERACTIVE | 142 | //config:config HUSH_INTERACTIVE |
143 | //config: bool "Interactive mode" | 143 | //config: bool "Interactive mode" |
144 | //config: default y | 144 | //config: default y |