summaryrefslogtreecommitdiff
path: root/lang/sun-jre13/patches/patch-aa
blob: bcbf26deff727509933a0cf3ecb1c8b469d751c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.3 2003/01/29 11:10:26 jlam Exp $

--- bin/.java_wrapper.orig	Fri Dec  6 11:27:32 2002
+++ bin/.java_wrapper
@@ -22,17 +22,6 @@ case "`uname -m`" in
         ;;
 esac
 
-# Resolve symlinks. See 4152645.
-while [ -L "$PRG" ]; do
-    ls=`ls -ld "$PRG"`
-    link=`expr "$ls" : '.*-> \(.*\)$'`
-    if expr "$link" : '/' > /dev/null; then
-	PRG="$link"
-    else
-	PRG="`dirname $PRG`/$link"
-    fi
-done
-
 APPHOME=`dirname "$PRG"`/.. 
 JREHOME=$APPHOME/jre