freebsd-ports/java/linux-sun-jdk13/files/patch-aa
Kevin Lo 2480bc8a31 Initial import of Linux JDK 1.3
This port is Sun's Java Development Kit 1.3.0 for Linux
2000-12-07 03:29:32 +00:00

13 lines
499 B
Text

--- bin/.java_wrapper.orig Tue Dec 5 15:01:50 2000
+++ bin/.java_wrapper Tue Dec 5 15:02:20 2000
@@ -31,8 +31,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"