From 11c5f57f630bc75f376ba29ced11a03e65bf3848 Mon Sep 17 00:00:00 2001 From: Nate Karstens Date: Sat, 3 Jan 2009 11:15:06 -0600 Subject: [PATCH] Updated to better distinguish between options and operands --- tools/apicheck/etc/apicheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/apicheck/etc/apicheck b/tools/apicheck/etc/apicheck index 9c00e2572..5d0480cf3 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 -- 2.11.0