aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl7
1 files changed, 5 insertions, 2 deletions
diff --git a/kerl b/kerl
index 47c853e..026a5f3 100755
--- a/kerl
+++ b/kerl
@@ -1888,11 +1888,14 @@ case "$1" in
fi
do_git_build "$3" "$4" "$5"
else
- if [ $# -lt 3 ]; then
+ if [ $# -eq 2 ]; then
+ do_normal_build "$2" "$2"
+ elif [ $# -eq 3 ]; then
+ do_normal_build "$2" "$3"
+ else
echo "usage: $0 $1 <release> <build_name>"
exit 1
fi
- do_normal_build "$2" "$3"
fi
;;
install)