[ https://issues.apache.org/jira/browse/MNG-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577282#comment-14577282 ]
ASF GitHub Bot commented on MNG-5837: ------------------------------------- Github user josephw commented on the pull request: https://github.com/apache/maven/pull/50#issuecomment-110022166 I've pushed a further change to switch $(..) to backticks. However, perhaps [this idiom](https://bugs.freedesktop.org/show_bug.cgi?id=5278) would be a better way to ensure a POSIX shell on Solaris: # Do the Solaris Dance: if [ ! -d ~root ] ; then exec /usr/xpg4/bin/sh $0 "$@" > Syntax error in bin/mvn on Solaris SPARC > ---------------------------------------- > > Key: MNG-5837 > URL: https://issues.apache.org/jira/browse/MNG-5837 > Project: Maven > Issue Type: Bug > Components: Command Line > Affects Versions: 3.3.1 > Environment: Solaris 10 > Reporter: Erlend Birkedal > > When running {{mvn}} on Solaris 10 we get the following error: > {code:none}/opt/apache-maven-3.3.1/bin/mvn: syntax error at line 200: `(' > unexpected{code} > Looks like similas issues as in MNG-5658 -- This message was sent by Atlassian JIRA (v6.3.4#6332)