diff options
Diffstat (limited to 'java/linux-sun-jdk14/files/patch-aa')
-rw-r--r-- | java/linux-sun-jdk14/files/patch-aa | 13 |
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" |