freebsd-ports/java/jdk14/files/patch-deploy-resources-javaws
Greg Lewis ee62db26fb . Fix javaws.
. Bump PORTREVISION.

PR:		81176
Submitted by:	"Thomas M. Hermann" <__tmh@yahoo.com>
2005-10-13 15:09:11 +00:00

15 lines
516 B
Text

$FreeBSD$
--- ../../deploy/make/javaws/bsd/resources/javaws 22 Oct 2004 21:59:21 -0000 1.3
+++ ../../deploy/make/javaws/bsd/resources/javaws 28 Sep 2005 17:05:29 -0000
@@ -13,8 +13,8 @@
while [ -L "$PRG" ]; do
ls=`/bin/ls -ld "$PRG"`
- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
- if /usr/bin/expr "$link" : '/' > /dev/null; then
+ link=`/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /bin/expr "$link" : '\/' > /dev/null; then
prg="$link"
else
prg="`/usr/bin/dirname $PRG`/$link"