diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-10-02 18:18:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-10-02 18:18:34 -0700 |
commit | 2c5b6fba35b07abeb8bfb0ce1f16ffc8701476ac (patch) | |
tree | 4aeaa63f3f6a24def472e4417272573561dcae44 | |
parent | 711a36f67049b6a1be74c1d0b179f1f898ff36c0 (diff) | |
download | txr-2c5b6fba35b07abeb8bfb0ce1f16ffc8701476ac.tar.gz txr-2c5b6fba35b07abeb8bfb0ce1f16ffc8701476ac.tar.bz2 txr-2c5b6fba35b07abeb8bfb0ce1f16ffc8701476ac.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.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ for arg in "$0" ${@+"$@"} ; do ;; esac ;; - *'"'* | *['$*?[']* | '~'* ) + *'"'* | *['$*?[(){};&|<>#']* | '~'* ) cmdline="$cmdline'$arg'" ;; * ) |