aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dmitry Lomov <dslomov@google.com>2016-01-29 14:26:46 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-01-29 14:43:13 +0000
commitf9f2e10dcbbf0efade6a9c9cf21dd3dde8e55f6b (patch)
tree5cf9360e1b7a52c9b6c9f0a5fb7845891a53ce60 /scripts
parent82434eb4648071f97d70b8c01dcecae224091b58 (diff)
Handle JAVA_HOME with spaces
-- MOS_MIGRATED_REVID=113356411
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/compile.sh2
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 \