some fixes
This commit is contained in:
parent
018f34f15d
commit
bab334b928
@ -40,7 +40,7 @@ case $TASK in
|
||||
LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"
|
||||
TASK_SCRIPT="cbuild/build_shared_lib.sh"
|
||||
;;
|
||||
build_shared_lib_dbg
|
||||
build_shared_lib_dbg)
|
||||
C_ARGS="-O0 -g -fpic -shared"
|
||||
CPP_ARGS="$C_ARGS"
|
||||
LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"
|
||||
|
||||
5
init.sh
5
init.sh
@ -19,9 +19,10 @@ if [ ! -f ".config" ]; then
|
||||
exit
|
||||
fi
|
||||
source .config
|
||||
|
||||
#version check
|
||||
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
|
||||
print "${WHITE}Backup current config and create default one? (y/n) "
|
||||
read answ
|
||||
@ -34,4 +35,4 @@ if [ ! $CONFIG_VER -eq 2 ]; then
|
||||
* ) print "${RED}incorrect answer\n";;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user