ports/java/linux-sun-jdk13/files/patch-aa
Maxim Sobolev b54ec812b0 Backout my last backout.
Requested by:	eivind
2001-06-01 15:28:29 +00:00

13 lines
467 B
Text

--- bin/.java_wrapper.orig Fri May 25 14:39:58 2001
+++ bin/.java_wrapper Fri May 25 14:42:25 2001
@@ -34,8 +34,8 @@
# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/' > /dev/null; then
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
PRG="$link"
else
PRG="`dirname $PRG`/$link"