* don't escape ' character
This commit is contained in:
parent
75c897bae5
commit
0101915567
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
def escapeShell(String arg) {
|
||||
return '"' + arg.replaceAll(/["$`<>^\\"']/, /\\$0/) + '"'
|
||||
return '"' + arg.replaceAll(/["$`<>^\\"]/, /\\$0/) + '"'
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue