You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Connolly (JIRA)" <ji...@apache.org> on 2017/03/26 21:18:41 UTC
[jira] [Commented] (MNG-6195) Use consistent quoting forms in mvn
launcher script
[ https://issues.apache.org/jira/browse/MNG-6195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942453#comment-15942453 ]
Stephen Connolly commented on MNG-6195:
---------------------------------------
So FreeBSD also ships with a BourneShell for non-root users so in FreeBSD
{code}
$ echo "$(ls)"
Illegal variable name.
$ echo "`ls`"
.cshrc .k5login .login .profile
{code}
> Use consistent quoting forms in mvn launcher script
> ---------------------------------------------------
>
> Key: MNG-6195
> URL: https://issues.apache.org/jira/browse/MNG-6195
> Project: Maven
> Issue Type: Bug
> Components: core
> Affects Versions: 3.5.0-alpha-1, 3.5.0-beta-1
> Reporter: Stephen Connolly
> Fix For: 3.5.0
>
>
> We have different forms of quoting in the shell script. We should pick a consistent policy and follow that.
> Specific areas of concern around backticks and {{$(...)}}
> Solaris 10 is known to have a true BourneShell which does not understand {{$(...)}} but the backtick style is very hard to quote effectively
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)