-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: jboss-fuse-6.3
-
Fix Version/s: jboss-fuse-6.3
-
Component/s: Karaf
-
Labels:None
-
Environment:
solaris 11.1 x86
-
Sprint:6.3 Sprint 3 (Feb 29 - Mar 25)
When starting clean fuse 6.3 on solaris 11, it complains:
avano@solaris:~Downloads/jboss-fuse-6.3.0.redhat-015% bin/fuse
|
bin/karaf[176]: local: not found [No such file or directory]
|
bin/karaf[186]: local: not found [No such file or directory]
|
bin/karaf[187]: local: not found [No such file or directory]
|
problem is in this method:
pathCanonical() {
|
local dst="${1}"
|
while [ -h "${dst}" ] ; do
|
ls=`ls -ld "${dst}"`
|
link=`expr "$ls" : '.*-> \(.*\)$'`
|
if expr "$link" : '/.*' > /dev/null; then
|
dst="$link"
|
else
|
dst="`dirname "${dst}"`/$link"
|
fi
|
done
|
local bas=`basename "${dst}"`
|
local dir=`dirname "${dst}"`
|
if [ "$bas" != "$dir" ]; then
|
dst="`pathCanonical "$dir"`/$bas"
|
fi
|
echo "${dst}" | sed -e 's#//#/#g' -e 's#/./#/#g' -e 's#/[^/]*/../#/#g'
|
}
|