diff options
Diffstat (limited to 'java/linux-sun-jdk14/files/patch-ab')
-rw-r--r-- | java/linux-sun-jdk14/files/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/linux-sun-jdk14/files/patch-ab b/java/linux-sun-jdk14/files/patch-ab new file mode 100644 index 000000000000..588643bb5515 --- /dev/null +++ b/java/linux-sun-jdk14/files/patch-ab @@ -0,0 +1,13 @@ +--- jre/bin/.java_wrapper.orig Fri May 25 19:56:57 2001 ++++ jre/bin/.java_wrapper Fri May 25 19:57:11 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" |