aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk12/files/patch-ab
blob: 11549792f1593e2d4e7ed34533661a903673586c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$FreeBSD$

--- jre/bin/.java_wrapper.orig	Wed Mar 20 19:36:13 2002
+++ jre/bin/.java_wrapper	Thu Jun 13 11:10:56 2002
@@ -25,8 +25,8 @@
 # Resolve symlinks. See 4152645.
 while [ -L "$PRG" ]; do
     ls=`/bin/ls -ld "$PRG"`
-    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
-    if /usr/bin/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="`/usr/bin/dirname $PRG`/$link"