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

Guillaume Nodet resolved FELIX-1459.
------------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.0.0
         Assignee: Guillaume Nodet

> bin/karaf may fail to start when CDPATH is set (on POSIX shells)
> ----------------------------------------------------------------
>
>                 Key: FELIX-1459
>                 URL: https://issues.apache.org/jira/browse/FELIX-1459
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>         Environment: Linux Debian
> Bash shell
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: karaf-1.0.0
>
>         Attachments: FELIX-1459.patch
>
>
> On POSIX compliant shells, 'cd' may print to stdout when a nonempty directory 
> name from the CDPATH environment variable is used successfully. The karaf 
> startup script uses 'cd' output to set KARAF_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/karaf
> bash$ echo $CDPATH
> .:..:/foo/bar
> bash$ bin/karaf
> KARAF_HOME is not valid: /opt/karaf
> /opt/karaf

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

Reply via email to