some fixes

This commit is contained in:
timerix 2022-09-09 21:51:08 +06:00
parent 018f34f15d
commit bab334b928
2 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@ case $TASK in
LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE" LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"
TASK_SCRIPT="cbuild/build_shared_lib.sh" TASK_SCRIPT="cbuild/build_shared_lib.sh"
;; ;;
build_shared_lib_dbg build_shared_lib_dbg)
C_ARGS="-O0 -g -fpic -shared" C_ARGS="-O0 -g -fpic -shared"
CPP_ARGS="$C_ARGS" CPP_ARGS="$C_ARGS"
LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE" LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"

View File

@ -19,9 +19,10 @@ if [ ! -f ".config" ]; then
exit exit
fi fi
source .config source .config
#version check #version check
if [ ! $CONFIG_VER -eq 2 ]; then if [ ! $CONFIG_VER -eq 2 ]; then
print "${RED}Your config version isn't correct" print "${RED}Your config version isn't correct\n"
while true; do while true; do
print "${WHITE}Backup current config and create default one? (y/n) " print "${WHITE}Backup current config and create default one? (y/n) "
read answ read answ