dart2js.bat/ Receive DART_VM_OPTION string properly.

BUG=https://code.google.com/p/dart/issues/detail?id=16594
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//153743007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32364 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
johnniwinther@google.com 2014-02-06 15:58:32 +00:00
parent a85da5e2d8
commit 385e45d5c1

View file

@ -36,7 +36,7 @@ rem See comments regarding options below in dart2js shell script.
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% --heap_growth_rate=512
rem We allow extra vm options to be passed in through an environment variable.
if not _%DART_VM_OPTIONS%_ == __ (
if not "_%DART_VM_OPTIONS%_" == "__" (
set EXTRA_VM_OPTIONS=%EXTRA_VM_OPTIONS% %DART_VM_OPTIONS%
)