[git commit] hush: make LINENO selectable without BASH-COMPAT

Denys Vlasenko vda.linux at googlemail.com
Wed Mar 10 15:31:05 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=cbfdeba6609b702432886ecf3e2786818a2bc55b
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/hush.c | 10 +++++-----
 1 file 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 @@
 //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


More information about the busybox-cvs mailing list