diff options
Diffstat (limited to 'java/jdk14/files/patch-deploy-resources-javaws')
-rw-r--r-- | java/jdk14/files/patch-deploy-resources-javaws | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/java/jdk14/files/patch-deploy-resources-javaws b/java/jdk14/files/patch-deploy-resources-javaws new file mode 100644 index 000000000000..55e194af4100 --- /dev/null +++ b/java/jdk14/files/patch-deploy-resources-javaws @@ -0,0 +1,15 @@ +$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" |