diff options
Diffstat (limited to 'java/linux-jdk13/files/patch-ab')
-rw-r--r-- | java/linux-jdk13/files/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/linux-jdk13/files/patch-ab b/java/linux-jdk13/files/patch-ab new file mode 100644 index 000000000000..cf51b6a54d01 --- /dev/null +++ b/java/linux-jdk13/files/patch-ab @@ -0,0 +1,13 @@ +--- jre/bin/.java_wrapper.orig Tue Dec 5 15:25:11 2000 ++++ jre/bin/.java_wrapper Tue Dec 5 15:25:29 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" |