summaryrefslogtreecommitdiffstats
path: root/tools/apicheck
diff options
context:
space:
mode:
authorAlexey Tarasov <tarasov@dodologics.com>2009-11-21 13:41:06 +1000
committerJean-Baptiste Queru <jbq@google.com>2010-04-29 14:19:28 -0700
commit73fda1b973e2342dbc878f23713780fdab3d2646 (patch)
tree174de0dcaa8f53b9dbcf19ed9402d9d37780a177 /tools/apicheck
parente3ec6d120c7fbb8f1782862125acb9c5b0b83b2e (diff)
downloadbuild-73fda1b973e2342dbc878f23713780fdab3d2646.zip
build-73fda1b973e2342dbc878f23713780fdab3d2646.tar.gz
build-73fda1b973e2342dbc878f23713780fdab3d2646.tar.bz2
Make expr more POSIXy
Change-Id: I939cf1f227c14112656804d69c1afd7ead4a31ed
Diffstat (limited to 'tools/apicheck')
-rw-r--r--tools/apicheck/etc/apicheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/apicheck/etc/apicheck b/tools/apicheck/etc/apicheck
index 9c00e25..5d0480c 100644
--- a/tools/apicheck/etc/apicheck
+++ b/tools/apicheck/etc/apicheck
@@ -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