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 2017/01/31 19:45:58 UTC

[Bug 60673] New: ant: syntax error at line 66: `)' unexpected

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

            Bug ID: 60673
           Summary: ant: syntax error at line 66: `)' unexpected
           Product: Ant
           Version: 1.9.8
          Hardware: Sun
                OS: SunOS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Wrapper scripts
          Assignee: notifications@ant.apache.org
          Reporter: awelsh@statestreet.com
  Target Milestone: ---

On Solaris 10, running ant 1.9.8 fails with the message: ./ant: syntax error at
line 66: `)' unexpected

ant wrapper script unusable as-is.  I have not tried prior versions of ant-1.9
yet.

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

[Bug 60673] ant: syntax error at line 66: `)' unexpected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60673

--- Comment #1 from Armand Welsh <aw...@statestreet.com> ---
I changed
#! /bin/sh 
to
#! /bin/bash

and this works, the ant wrapper shell script works now.  perhaps this should be
implemented since the script uses non sh commands which don't work on systems
that support the sh shell natively, unlike linux which just uses a symbolic
link to bash.

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

[Bug 60673] ant: syntax error at line 66: `)' unexpected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60673

Armand Welsh <aw...@statestreet.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awelsh@statestreet.com

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

[Bug 60673] ant: syntax error at line 66: `)' unexpected

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60673

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
   Target Milestone|---                         |1.9.9

--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
Thank you, obviously Solaris 10's sh isn't as POSIXy as we had hoped.

Could you please give the script of the current 1.9.x branch a try?
https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/script/ant;h=8252d779c3aba453c0e1729f81763063fe12d4a7;hb=8d03bfd672247e72a6b8b93dbb27ecbe5c432727

This is going to be in the 1.9.9 release we expect to release soonish.

*** This bug has been marked as a duplicate of bug 60562 ***

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