[jboss-jira] [JBoss JIRA] (WFLY-23) Quoted script parameters are not properly parsed in the bash script

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri May 3 13:22:54 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772007#comment-12772007 ] 

RH Bugzilla Integration commented on WFLY-23:
---------------------------------------------

Rostislav Svoboda <rsvoboda at redhat.com> made a comment on [bug 918030|https://bugzilla.redhat.com/show_bug.cgi?id=918030]

Solaris 11 contains readlink command.
[hudson at dev21-01 ~]$ which readlink
/usr/bin/readlink

Solaris 10 does NOT contain readlink command.
Workaround is to use GNU coreutils - command greadlink, but we can't rely on tha fact it's installed on every Solaris 10 system.

[hudson at dev20-01 ~]$ which greadlink
/opt/csw/bin/greadlink


code from https://github.com/sstephenson/ruby-build/pull/9/files
resolve_link() {
  $(type -p greadlink readlink | head -1) $1
}
...
path="$(resolve_link "$name" || true)" 


Suggestion: For Solaris we should limit readlink invocation only to Solaris 11 and maybe document workaround for Solaris 10 - define JBOSS_LOG_DIR variable. This was needed for all Solaris and Windows platforms in EAP 6.0.0 and EAP 6.0.1.
                
> Quoted script parameters are not properly parsed in the bash script
> -------------------------------------------------------------------
>
>                 Key: WFLY-23
>                 URL: https://issues.jboss.org/browse/WFLY-23
>             Project: WildFly
>          Issue Type: Bug
>          Components: Scripts
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 8.0.0.Alpha1
>
>
> Quotes are added to parameters passed via the command line. When checking the parameters for the {{jboss.server.base.dir}}, {{jboss.server.config.dir}} and {{jboss.server.log.dir}} properties quoted parameters are not found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list