Ticket #36036: patch-jruby.diff
File patch-jruby.diff, 388 bytes (added by humem (humem), 12 years ago) |
---|
-
bin/jruby
old new 33 33 ls=`ls -ld "$PRG"` 34 34 link=`expr "$ls" : '.*-> \(.*\)$'` 35 35 if expr "$link" : '.*/.*' > /dev/null; then 36 if expr "$link" : ' /' > /dev/null; then36 if expr "$link" : '^/' > /dev/null; then 37 37 PRG="$link" 38 38 else 39 39 PRG="`dirname ${PRG}`/${link}"