Index: src/shell/jython =================================================================== --- src/shell/jython (revision 6385) +++ src/shell/jython (working copy) @@ -29,7 +29,11 @@ ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '.*/.*' > /dev/null; then - PRG="$link" + if expr "$link" : '^/' > /dev/null; then + PRG="$link" + else + PRG="`dirname ${PRG}`/${link}" + fi else PRG="`dirname $PRG`/$link" fi