wire-build.sh: Move check_deps to case statement
This commit is contained in:
parent
5877f054e1
commit
5dd7a9134e
@ -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
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user