316555 jetty.sh throws errors/warnings in older bash version

Fixing syntax of expr to be more resilient.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1990 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Joakim Erdfelt 2010-06-10 23:15:27 +00:00
parent e8ed78c866
commit b65e7debb2
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ if [ -z "$CONFIGS" ] && [ -f "$JETTY_CONF" ] && [ -r "$JETTY_CONF" ]
then
while read -r CONF
do
if expr "$CONF" : '^#' >/dev/null ; then
if expr "$CONF" : '#' >/dev/null ; then
continue
fi