OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53b759
)
Be more POSIXly correct in the use of expr.
author
Dan Bornstein
<danfuzz@android.com>
Wed, 12 Aug 2009 19:16:40 +0000
(12:16 -0700)
committer
Jean-Baptiste Queru
<jbq@google.com>
Tue, 25 Aug 2009 15:03:47 +0000
(08:03 -0700)
dx/etc/dx
patch
|
blob
|
history
diff --git
a/dx/etc/dx
b/dx/etc/dx
index
dae5874
..
e1a9691
100644
(file)
--- a/
dx/etc/dx
+++ b/
dx/etc/dx
@@
-63,7
+63,7
@@
javaOpts=""
# add a command-line parameter such as "-JXmx256M" in your ant scripts, for
# example.
while expr "x$1" : 'x-J' >/dev/null; do
- opt=`expr "
$1" : '
-J\(.*\)'`
+ opt=`expr "
x$1" : 'x
-J\(.*\)'`
javaOpts="${javaOpts} -${opt}"
shift
done