head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2013.02.28.01.50.42;	author svnexp;	state dead;
branches;
next	1.1;

1.1
date	2010.12.29.21.23.44;	author knu;	state Exp;
branches;
next	;


desc
@@


1.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313074
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@--- bin/jruby.orig	2010-12-04 01:58:22.000000000 +0900
+++ bin/jruby	2010-12-30 06:00:45.000000000 +0900
@@@@ -28,15 +28,14 @@@@
 while [ -h "$PRG" ] ; do
   ls=`ls -ld "$PRG"`
   link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '.*/.*' > /dev/null; then
-    if expr "$link" : '/' > /dev/null; then
+  case "$link" in
+    /*)
       PRG="$link"
-    else
+      ;;
+    *)
       PRG="`dirname ${PRG}`/${link}"
-    fi
-  else
-    PRG="`dirname $PRG`/$link"
-  fi
+      ;;
+  esac
 done
 
 JRUBY_HOME_1=`dirname "$PRG"`           # the ./bin dir
@


1.1
log
@Update to 1.5.6.
@
text
@@

