From: <nr...@us...> - 2010-04-02 16:15:54
|
Revision: 6998 http://jython.svn.sourceforge.net/jython/?rev=6998&view=rev Author: nriley Date: 2010-04-02 16:15:48 +0000 (Fri, 02 Apr 2010) Log Message: ----------- Invalid and redundant regex anchor causes some systems to output a warning. Fixes #1588; thanks, Richard Shaffer. Modified Paths: -------------- trunk/jython/src/shell/jython Modified: trunk/jython/src/shell/jython =================================================================== --- trunk/jython/src/shell/jython 2010-04-02 01:56:15 UTC (rev 6997) +++ trunk/jython/src/shell/jython 2010-04-02 16:15:48 UTC (rev 6998) @@ -29,7 +29,7 @@ ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '.*/.*' > /dev/null; then - if expr "$link" : '^/' > /dev/null; then + if expr "$link" : '/' > /dev/null; then PRG="$link" else PRG="`dirname ${PRG}`/${link}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |