summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-10-02 18:18:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-10-02 18:18:34 -0700
commit804dd44d22c9dbc8b007b559ee1d31bb27451090 (patch)
tree4aeaa63f3f6a24def472e4417272573561dcae44 /configure
parentcdc47f43fc5695b2a1a98f5387e73dd4c10c956b (diff)
downloadtxr-804dd44d22c9dbc8b007b559ee1d31bb27451090.tar.gz
txr-804dd44d22c9dbc8b007b559ee1d31bb27451090.tar.bz2
txr-804dd44d22c9dbc8b007b559ee1d31bb27451090.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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'"
;;
* )