[jira] [Commented] (KARAF-5034) readlink not fund on HP-UX
[ https://issues.apache.org/jira/browse/KARAF-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15938042#comment-15938042 ] Terrien Jean-Yves commented on KARAF-5034: -- I'm running karaf 3.0.7 thank > readlink not fund on HP-UX > -- > > Key: KARAF-5034 > URL: https://issues.apache.org/jira/browse/KARAF-5034 > Project: Karaf > Issue Type: Bug > Components: karaf-core >Affects Versions: 3.0.0 > Environment: HP-UX >Reporter: Terrien Jean-Yves >Assignee: Jean-Baptiste Onofré > > fail to start karaf readlink not found on HP-UX > solved by addind this code on scripts > {code} > if ["" -eq $(whence readlink)] > then > DIRNAME=$(dirname "$0") > PROGNAME=$(basename "$0") > else > REALNAME=$(readlink -e "$0" > /dev/null 2>&1) > if [ $? != 0 ]; then > REALNAME=$0 > fi > DIRNAME=$(dirname "$REALNAME") > PROGNAME=$(basename "$REALNAME") > fi > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (KARAF-5034) readlink not fund on HP-UX
[ https://issues.apache.org/jira/browse/KARAF-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15934980#comment-15934980 ] Terrien Jean-Yves commented on KARAF-5034: -- I'm using servicemix 6.x I look at it tomorrow and I come back. > readlink not fund on HP-UX > -- > > Key: KARAF-5034 > URL: https://issues.apache.org/jira/browse/KARAF-5034 > Project: Karaf > Issue Type: Bug > Components: karaf-core >Affects Versions: 3.0.0 > Environment: HP-UX >Reporter: Terrien Jean-Yves >Assignee: Jean-Baptiste Onofré > > fail to start karaf readlink not found on HP-UX > solved by addind this code on scripts > {code} > if ["" -eq $(whence readlink)] > then > DIRNAME=$(dirname "$0") > PROGNAME=$(basename "$0") > else > REALNAME=$(readlink -e "$0" > /dev/null 2>&1) > if [ $? != 0 ]; then > REALNAME=$0 > fi > DIRNAME=$(dirname "$REALNAME") > PROGNAME=$(basename "$REALNAME") > fi > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)