[Bug 60150] back-tick fails ant shell script

2016-09-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60150

--- Comment #1 from jwadam...@gmail.com ---
When creating double-quoted literals, the shell script does not escape them.

I am also paranoid now about $ characters. Will update shortly on if this
problem also covers that

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 60150] New: back-tick fails ant shell script

2016-09-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60150

Bug ID: 60150
   Summary: back-tick fails ant shell script
   Product: Ant
   Version: 1.9.7
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Wrapper scripts
  Assignee: notifications@ant.apache.org
  Reporter: jwadam...@gmail.com

Passing a back-tick character literal to the ant shell script fails on *nix

$ ant -Dfoo='ba`r'
/home/jwa/.sdkman/candidates/ant/current/bin/ant: 1: eval: Syntax error: EOF in
backquote substitution

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 60150] back-tick fails ant shell script

2016-09-19 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=60150

--- Comment #2 from jwadam...@gmail.com ---
Yep, if intent is to have arguments pass through as literals, then $ also
needed escaping in the exec_args processing. Updated pull request with that as
well

-- 
You are receiving this mail because:
You are the assignee for the bug.