diff options
author | Eirik Nygaard <eirik@yahoo-inc.com> | 2016-06-23 14:25:48 +0200 |
---|---|---|
committer | Eirik Nygaard <eirik@yahoo-inc.com> | 2016-06-23 14:25:48 +0200 |
commit | 1767c0a313d2cd68a166f4e11c9791a1aa4a1763 (patch) | |
tree | 5282d4688734e5c7b9c3ff99042bd0da7dd6251a /bootstrap.sh | |
parent | 3336d15a4b569991877ad806c26210b9e6e2e001 (diff) |
Fix bootstrap without arguments
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 8 |
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 |