summaryrefslogtreecommitdiff
path: root/tools/apicheck
diff options
context:
space:
mode:
author Alexey Tarasov <tarasov@dodologics.com> 2009-11-21 13:41:06 +1000
committer Jean-Baptiste Queru <jbq@google.com> 2010-04-29 14:19:28 -0700
commit73fda1b973e2342dbc878f23713780fdab3d2646 (patch)
tree174de0dcaa8f53b9dbcf19ed9402d9d37780a177 /tools/apicheck
parente3ec6d120c7fbb8f1782862125acb9c5b0b83b2e (diff)
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 9c00e25728..5d0480cf34 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