aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvax Software <[email protected]>2011-06-16 22:58:27 -0700
committerEvax Software <[email protected]>2011-06-16 22:58:27 -0700
commit0c114f87119f423427c87aa1561ee291c876d641 (patch)
tree8c079d03fdce467a62096b924f905a6e2f9953b4
parent51426416108182075a7feabf20b43586c7f892c6 (diff)
parentcc28fe11982d9e6c7270a054f87ff70dfa5311e0 (diff)
downloadkerl-0c114f87119f423427c87aa1561ee291c876d641.tar.gz
kerl-0c114f87119f423427c87aa1561ee291c876d641.tar.bz2
kerl-0c114f87119f423427c87aa1561ee291c876d641.zip
Merge pull request #10 from mpetrsson/master
Order of usage in kerl build [git]
-rwxr-xr-xkerl8
1 files changed, 4 insertions, 4 deletions
diff --git a/kerl b/kerl
index b020e3c..6e588c1 100755
--- a/kerl
+++ b/kerl
@@ -493,10 +493,6 @@ do_active()
case "$1" in
build)
- if [ $# -lt 3 ]; then
- echo "usage: $0 $1 <release> <build_name>"
- exit 1
- fi
if [ "$2" = "git" ]; then
if [ $# -ne 5 ]; then
echo "usage: $0 $1 $2 <git_url> <git_version> <build_name>"
@@ -504,6 +500,10 @@ case "$1" in
fi
do_git_build $3 $4 $5
else
+ if [ $# -lt 3 ]; then
+ echo "usage: $0 $1 <release> <build_name>"
+ exit 1
+ fi
do_build $2 $3
fi
;;