diff options
author | Dmitry Lomov <dslomov@google.com> | 2016-01-29 14:26:46 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-01-29 14:43:13 +0000 |
commit | f9f2e10dcbbf0efade6a9c9cf21dd3dde8e55f6b (patch) | |
tree | 5cf9360e1b7a52c9b6c9f0a5fb7845891a53ce60 /scripts | |
parent | 82434eb4648071f97d70b8c01dcecae224091b58 (diff) |
Handle JAVA_HOME with spaces
--
MOS_MIGRATED_REVID=113356411
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 461c207e58..ee2481a3fa 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -214,7 +214,7 @@ cp src/main/tools/xcode_locator_stub.sh ${ARCHIVE_DIR}/_embedded_binaries/xcode- # bazel build using bootstrap version function bootstrap_build() { - $JAVA_HOME/bin/java \ + "${JAVA_HOME}/bin/java" \ -client -Xms256m -XX:NewRatio=4 -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Dfile.encoding=ISO-8859-1 \ -XX:HeapDumpPath=${OUTPUT_DIR} \ -Djava.util.logging.config.file=${OUTPUT_DIR}/javalog.properties \ |