aboutsummaryrefslogtreecommitdiff
path: root/dev/make-distribution.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/make-distribution.sh')
-rwxr-xr-xdev/make-distribution.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
index 22cdfd467c..769cbda4fe 100755
--- a/dev/make-distribution.sh
+++ b/dev/make-distribution.sh
@@ -146,7 +146,7 @@ fi
# Build uber fat JAR
cd "$SPARK_HOME"
-export MAVEN_OPTS="${MAVEN_OPTS:-Xmx2g -XX:ReservedCodeCacheSize=512m}"
+export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:ReservedCodeCacheSize=512m}"
# Store the command as an array because $MVN variable might have spaces in it.
# Normal quoting tricks don't work.