ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59321] bootstrap/bin/ant script fails when building ant with syntax error, possibly an un-matched quote
Date Tue, 01 Nov 2016 17:45:02 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59321

--- Comment #16 from Jamie Penman-Smithson <jpenman.smithson@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.
Mime
View raw message