Update vesta_compile.sh

This commit is contained in:
dpeca 2019-08-21 00:37:19 +02:00 committed by GitHub
commit e13fb65424
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,6 +142,9 @@ for arg; do
--git) --git)
VESTAGIT_B='true' VESTAGIT_B='true'
;; ;;
--git)
VESTAGIT_B='true'
;;
--c) --c)
CWEB_B='true' CWEB_B='true'
;; ;;
@ -175,6 +178,15 @@ if [ $build_deb_package -eq 1 ]; then
if [ "$NGINX_B" = true ]; then if [ "$NGINX_B" = true ]; then
VESTAGIT_B='true' VESTAGIT_B='true'
fi fi
if [ "$CWEB_B" = true ]; then
if [ $# -gt 1 ]; then
if [ $2 = "--nogit" ]; then
VESTAGIT_B='false'
fi
fi
fi
fi fi
if [ ! -d "$BUILD_DIR" ]; then if [ ! -d "$BUILD_DIR" ]; then