summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index d3494db68e3..940179ef020 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -5,10 +5,10 @@ usage() {
echo "Usage: $0 [full | java | default]" >&2
}
-# Build minimal set of java modules required to run cmake
-MODE=default
-
-if [ "$1" = "full" ]; then
+if [ $# -eq 0 ]; then
+ # Build minimal set of java modules required to run cmake
+ MODE=default
+elif [ "$1" = "full" ]; then
# Build all java modules required by C++ testing
MODE=full
elif [ "$1" = "java" ]; then