Skip to content

Commit

Permalink
Merge pull request #10 from mpetrsson/master
Browse files Browse the repository at this point in the history
Order of usage in kerl build [git]
  • Loading branch information
scalone-cw committed May 9, 2024
2 parents 3067772 + d31ef6b commit b20a44c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kerl
Original file line number Diff line number Diff line change
Expand Up @@ -493,17 +493,17 @@ 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>"
exit 1
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
;;
Expand Down

0 comments on commit b20a44c

Please sign in to comment.