Make expr more POSIXy

Change-Id: I939cf1f227c14112656804d69c1afd7ead4a31ed
This commit is contained in:
Alexey Tarasov 2009-11-21 13:41:06 +10:00 committed by Jean-Baptiste Queru
parent e3ec6d120c
commit 73fda1b973

View File

@ -38,7 +38,7 @@ libdir=`dirname $progdir`/framework
javaOpts=""
while expr "x$1" : 'x-J' >/dev/null; do
opt=`expr "$1" : '-J\(.*\)'`
opt=`expr "x$1" : 'x-J\(.*\)'`
javaOpts="${javaOpts} -${opt}"
shift
done