You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2009/08/07 10:20:35 UTC

[jira] Work started: (SM-1879) bin/servicemix may fail to start when CDPATH is set (on POSIX shells)

     [ https://issues.apache.org/activemq/browse/SM-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1879 started by Jean-Baptiste Onofré.

> bin/servicemix may fail to start when CDPATH is set (on POSIX shells)
> ---------------------------------------------------------------------
>
>                 Key: SM-1879
>                 URL: https://issues.apache.org/activemq/browse/SM-1879
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: POSIX shell - found with bash on Ubuntu
>            Reporter: Greg Lucas
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>         Attachments: SM-1879-kernel.patch, SM-1879-smx3.patch
>
>
> On POSIX compliant shells, 'cd' may print to stdout when a nonempty directory name from the CDPATH environment variable is used successfully. The servicemix startup script uses 'cd' output to set SERVICEMIX_HOME and the extra output causes an error. This can happen when the CDPATH contains '.' and a relative path is used, for example:
> bash$ cd /opt/apache-servicemix-4.1.0-SNAPSHOT
> bash$ echo $CDPATH
> .:..:/foo/bar
> bash$ bin/servicemix 
> servicemix: SERVICEMIX_HOME is not valid: /opt/apache-servicemix-4.1.0-SNAPSHOT
> /opt/apache-servicemix-4.1.0-SNAPSHOT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.