mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Update vesta_compile.sh
This commit is contained in:
parent
a699f9aecf
commit
e13fb65424
1 changed files with 36 additions and 24 deletions
|
@ -142,6 +142,9 @@ for arg; do
|
|||
--git)
|
||||
VESTAGIT_B='true'
|
||||
;;
|
||||
--git)
|
||||
VESTAGIT_B='true'
|
||||
;;
|
||||
--c)
|
||||
CWEB_B='true'
|
||||
;;
|
||||
|
@ -175,6 +178,15 @@ if [ $build_deb_package -eq 1 ]; then
|
|||
if [ "$NGINX_B" = true ]; then
|
||||
VESTAGIT_B='true'
|
||||
fi
|
||||
|
||||
if [ "$CWEB_B" = true ]; then
|
||||
if [ $# -gt 1 ]; then
|
||||
if [ $2 = "--nogit" ]; then
|
||||
VESTAGIT_B='false'
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -d "$BUILD_DIR" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue