You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2016/11/01 17:45:02 UTC

[Bug 59321] bootstrap/bin/ant script fails when building ant with syntax error, possibly an un-matched quote

https://bz.apache.org/bugzilla/show_bug.cgi?id=59321

--- Comment #16 from Jamie Penman-Smithson <jp...@gmail.com> ---
I'm afraid that still doesn't work on Solaris:

fnet-oss-uat1% ./ant
./ant: syntax error at line 66: `)' unexpected
fnet-oss-uat1% 

...which appears to be a problem with:

      'awk')
        esc_arg="$(printf '%s' "$esc_arg" | "$awk_exec" '{ gsub(/\\/, "\\\\");
print }' )"
        esc_arg="$(printf '%s' "$esc_arg" | "$awk_exec" '{ gsub(/\$/, "\\$"); 
print }' )"
        esc_arg="$(printf '%s' "$esc_arg" | "$awk_exec" '{ gsub(/\"/, "\\\"");
print }' )"
        esc_arg="$(printf '%s' "$esc_arg" | "$awk_exec" '{ gsub(/`/,  "\\`"); 
print }' )"                                                                     

(more specifically the last line where it is escaping back-ticks)

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