See https://issues.apache.org/jira/browse/MNG-5852
This has happened in several releases -- Maven developers need to switch their hashbang to #!/usr/bin/env bash or otherwise actually test against a Bourne shell. On Wed, Nov 4, 2015 at 11:29 AM, Dan Tran <dant...@gmail.com> wrote: > you may want to link your /bin/sh to bash > > -D > > On Wed, Nov 4, 2015 at 8:20 AM, james pruett <gpscru...@gmail.com> wrote: > > > Hi, > > > > I am compiling maven on Solaris. apache-maven-3.3-3.bin.tar.gz > > > > My environment is: > > > > echo $0 > > tcsh > > > > > > I get this error > > > > /apache-maven-3.3.3/bin % ./mvn > > ./mvn: syntax error at line 200: `(' unexpected > > > > > > line 200 says: local basedir=($pwd) > > > > > > > > Any help appreciated! > > Jim > > >