The first line of mvn is #!/bin/sh
So, that should be a bourne shell, and not tcsh, regardless of the users settings. Jochen On Wed, Nov 4, 2015 at 5:27 PM, Jeff MAURY <jeffma...@jeffmaury.com> wrote: > Not sure the Maven scripts supports tcsh. Switch to bash if you can. > > Regards > Jeff > > On Wed, Nov 4, 2015 at 5:20 PM, 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 >> > > > > -- > Jeff MAURY > > > "Legacy code" often differs from its suggested alternative by actually > working and scaling. > - Bjarne Stroustrup > > http://www.jeffmaury.com > http://riadiscuss.jeffmaury.com > http://www.twitter.com/jeffmaury -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org