diff options
author | David Herman <davidherman@google.com> | 2014-12-09 16:32:23 -0800 |
---|---|---|
committer | David Herman <davidherman@google.com> | 2014-12-09 16:32:23 -0800 |
commit | 6c1c55e0da303b2fca8c230e0959275d31cf66e2 (patch) | |
tree | b83f99a2c5ad1164a3bbfe7be58473ab43ba49e6 /find_java/find_java.bat | |
parent | 4826e2328eed423fc840766e5447885b102df82f (diff) | |
download | sdk-6c1c55e0da303b2fca8c230e0959275d31cf66e2.zip sdk-6c1c55e0da303b2fca8c230e0959275d31cf66e2.tar.gz sdk-6c1c55e0da303b2fca8c230e0959275d31cf66e2.tar.bz2 |
Fixed find_java syntax error on 32-bit machines
Related issue:
https://code.google.com/p/android/issues/detail?id=82099
Change-Id: I8241eb58d45ceca4b5ada4f5550f79376c716ed6
Diffstat (limited to 'find_java/find_java.bat')
-rwxr-xr-x | find_java/find_java.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find_java/find_java.bat b/find_java/find_java.bat index b1b7dd1..b0bb165 100755 --- a/find_java/find_java.bat +++ b/find_java/find_java.bat @@ -24,7 +24,7 @@ rem http://technet.microsoft.com/en-us/library/bb490890.aspx rem Query whether this system is 32-bit or 64-bit
rem See also: http://stackoverflow.com/a/24590583/1299302
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" |^
-find /i "x86" > NUL && set arch_ext=32 || set arch_ext=64
+find /i "x86" > NUL && set arch_ext=32|| set arch_ext=64
rem Check we have a valid Java.exe in the path. The return code will
rem be 0 if the command worked or 1 if the exec failed (program not found).
|