* don't escape ' character

This commit is contained in:
Reinhard Pointner 2013-11-21 08:52:06 +00:00
parent 75c897bae5
commit 0101915567
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
def escapeShell(String arg) {
return '"' + arg.replaceAll(/["$`<>^\\"']/, /\\$0/) + '"'
return '"' + arg.replaceAll(/["$`<>^\\"]/, /\\$0/) + '"'
}