From 804dd44d22c9dbc8b007b559ee1d31bb27451090 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 2 Oct 2020 18:18:34 -0700 Subject: configure: quote more characters in cmdline * configure: When calculating the cmdline variable from the positional parameters, there are more shell-special characters that require quoting: parentheses, braces, redirection operators, the semicolon and the hash comment. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index abd3a425..92e8715d 100755 --- a/configure +++ b/configure @@ -100,7 +100,7 @@ for arg in "$0" ${@+"$@"} ; do ;; esac ;; - *'"'* | *['$*?[']* | '~'* ) + *'"'* | *['$*?[(){};&|<>#']* | '~'* ) cmdline="$cmdline'$arg'" ;; * ) -- cgit v1.2.3