summaryrefslogtreecommitdiff
path: root/lang/sun-jre13/patches/patch-aa
blob: 6c19b982aba7b8b8a5a05da2458e213600e4154a (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.2 2001/06/12 16:31:47 skrll Exp $

--- bin/.java_wrapper.orig	Sun May  6 11:15:57 2001
+++ bin/.java_wrapper
@@ -31,17 +31,6 @@
         ;;
 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