summaryrefslogtreecommitdiff
path: root/java/linux-jdk13/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'java/linux-jdk13/files/patch-aa')
-rw-r--r--java/linux-jdk13/files/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/linux-jdk13/files/patch-aa b/java/linux-jdk13/files/patch-aa
new file mode 100644
index 000000000000..1ee59bfec964
--- /dev/null
+++ b/java/linux-jdk13/files/patch-aa
@@ -0,0 +1,13 @@
+--- 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"