Skip to content

Commit

Permalink
Also allow non-dash params in build.sh - for cases like '-P profile'.
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraZizka authored and bstansberry committed Nov 10, 2011
1 parent 0256450 commit 6d7cb51
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@ main() {
for param in $@ ; do
case $param in
-DallTests) TESTS=$ALL_TESTS ;;
-*) ADDIT_PARAMS="$ADDIT_PARAMS $param";;
clean) MVN_GOAL="$MVN_GOAL$param ";;
test) MVN_GOAL="$MVN_GOAL$param ";;
-*) ADDIT_PARAMS="$ADDIT_PARAMS $param";;
clean) MVN_GOAL="$MVN_GOAL$param ";;
test) MVN_GOAL="$MVN_GOAL$param ";;
install) MVN_GOAL="$MVN_GOAL$param ";;
deploy) MVN_GOAL="$MVN_GOAL$param ";;
site) MVN_GOAL="$MVN_GOAL$param ";;
deploy) MVN_GOAL="$MVN_GOAL$param ";;
site) MVN_GOAL="$MVN_GOAL$param ";;
*) ADDIT_PARAMS="$ADDIT_PARAMS $param";;
esac
done
# Default goal if none specified.
Expand Down

0 comments on commit 6d7cb51

Please sign in to comment.