Avoid quoting + to appease cygwin bash/gcc --gdbbt (#2856)

This commit is contained in:
Wilson Snyder 2021-03-26 22:13:55 -04:00
parent ca01d6f18d
commit 02d82978e5

View File

@ -225,7 +225,7 @@ sub sh_escape {
# This is similar to quotemeta() but less aggressive.
# There's no need to escape hyphens, periods, or forward slashes
# for the shell as these have no special meaning to the shell.
$arg =~ s/([^0-9a-zA-Z_\-\.\/])/\\$1/g;
$arg =~ s/([^0-9a-zA-Z_\-\+\=\.\/])/\\$1/g;
return $arg;
}