mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Avoid quoting + to appease cygwin bash/gcc --gdbbt (#2856)
This commit is contained in:
parent
ca01d6f18d
commit
02d82978e5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user