summaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk14/files/patch-aa
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-05-25 18:59:25 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-05-25 18:59:25 +0000
commitd60a2edb4e92a40865b6403c983cf26f4273354e (patch)
tree4664965ef999c4d70f1cb18e163c07675e09857e /java/linux-sun-jdk14/files/patch-aa
parentAdd (diff)
Add linux-jdk14 , sun's Java Developers Kit for Linux, version 1.4.
PR: 27644 Submitted by: Ernst de Haan <ernst@jollem.com>
Notes
Notes: svn path=/head/; revision=43055
Diffstat (limited to 'java/linux-sun-jdk14/files/patch-aa')
-rw-r--r--java/linux-sun-jdk14/files/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/linux-sun-jdk14/files/patch-aa b/java/linux-sun-jdk14/files/patch-aa
new file mode 100644
index 000000000000..67db4bb8b7cc
--- /dev/null
+++ b/java/linux-sun-jdk14/files/patch-aa
@@ -0,0 +1,13 @@
+--- bin/.java_wrapper.orig Fri May 25 19:52:36 2001
++++ bin/.java_wrapper Fri May 25 19:54:12 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"