From cbfdeba6609b702432886ecf3e2786818a2bc55b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 10 Mar 2021 16:31:05 +0100 Subject: hush: make LINENO selectable without BASH-COMPAT Signed-off-by: Denys Vlasenko --- shell/hush.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shell') 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 -- cgit v1.1