Author: froethenbacher
Date: Wed Jan 7 20:27:57 2009
New Revision: 732605
URL: http://svn.apache.org/viewvc?rev=732605&view=rev
Log:
Make startup script more resilient for whitespace in properties file.
Modified:
lenya/trunk/lenya.sh
Modified: lenya/trunk/lenya.sh
URL: http://svn.apache.org/viewvc/lenya/trunk/lenya.sh?rev=732605&r1=732604&r2=732605&view=diff
==============================================================================
--- lenya/trunk/lenya.sh (original)
+++ lenya/trunk/lenya.sh Wed Jan 7 20:27:57 2009
@@ -114,7 +114,7 @@
# Set Jetty Port
if [ -f local.build.properties ] ; then
- JETTY_PORT=`grep web.app.server.jetty.port $LENYA_HOME/local.build.properties | grep -v "#" | sed -e 's/web\.app\.server\.jetty\.port=//'`
+ JETTY_PORT=`grep web.app.server.jetty.port $LENYA_HOME/local.build.properties | grep -v "#" | sed -e 's/web\.app\.server\.jetty\.port\s*=\s*//'`
fi
if [ "$JETTY_PORT" = "" ] ; then
JETTY_PORT=`grep web.app.server.jetty.port $LENYA_HOME/build.properties | grep -v "#" | sed -e 's/web\.app\.server\.jetty\.port=//'`
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.