Index: build/android/envsetup.sh |
diff --git a/build/android/envsetup.sh b/build/android/envsetup.sh |
index cacfafc79c60eb7c50e27a9c070aaf0dfab43bc8..51f225aaaf9dd1272a0791af280a60e74ca47ff6 100755 |
--- a/build/android/envsetup.sh |
+++ b/build/android/envsetup.sh |
@@ -145,7 +145,7 @@ if [[ -d $GOMA_DIR ]]; then |
ANDROID_GOMA_WRAPPER="$GOMA_DIR/gomacc" |
num_cores="$(grep --count ^processor /proc/cpuinfo)" |
# Goma is IO-ish you want more threads than you have cores. |
- let goma_threads=num_cores*2 |
+ let "goma_threads=num_cores*2" |
if [ -z "${GOMA_COMPILER_PROXY_THREADS}" -a "${goma_threads}" -gt 16 ]; then |
# The default is 16 threads, if the machine has many cores we crank it up a bit |
GOMA_COMPILER_PROXY_THREADS="${goma_threads}" |