wire-build.sh: Move check_deps to case statement

This commit is contained in:
mollusk 2017-08-30 08:20:31 -07:00
parent 5877f054e1
commit 5dd7a9134e

View File

@ -120,16 +120,16 @@ main(){
mkdir -pv ${BIN_DIR} mkdir -pv ${BIN_DIR}
fi fi
check_deps
case $1 in case $1 in
all | -a) git_pull && build_rpm && build_deb all | -a) check_deps && git_pull && build_rpm && build_deb
;; ;;
deb | -d) git_pull && build_deb deb | -d) check_deps && git_pull && build_deb
;; ;;
rpm | -r) git_pull && build_rpm rpm | -r) check_deps && git_pull && build_rpm
;; ;;
*) *)