summaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk13/files/patch-ab
blob: 484f62cdff099624f739ad3e92caaf5be15a257c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- jre/bin/.java_wrapper.orig	Fri May 25 14:39:58 2001
+++ jre/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"