Skip to content

Commit

Permalink
normalize build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jdillon committed Apr 25, 2017
1 parent f75dc98 commit 587a958
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ case "$command" in

# check license headers
license-check)
mvn -Plicense-check -N
mvn -Plicense-check -N $*
;;

# format license headers
license-format)
mvn -Plicense-format -N
mvn -Plicense-format -N $*
;;

# prepare CI build
Expand Down Expand Up @@ -99,7 +99,7 @@ case "$command" in
*)
# attempt to lookup command function
fn="command_$command"
if [ `type -t $fn` = 'function' ]; then
if [ "$(type -t $fn)" = 'function' ]; then
$fn $*
else
# give up and complain
Expand Down

0 comments on commit 587a958

Please sign in to comment.