Skip to content

Commit

Permalink
RC5
Browse files Browse the repository at this point in the history
many fixes
now user install for debian/ubuntu possible
  • Loading branch information
gorgone authored Feb 10, 2019
1 parent 123b4a8 commit 2697533
Show file tree
Hide file tree
Showing 35 changed files with 400 additions and 852 deletions.
21 changes: 9 additions & 12 deletions s3
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ else
echo "fail functions";
fi;

#begin
initializeANSI; #load colors
#initialize simplebuild
initializeANSI; # load colors
auto_langset; # echo "info $txt_load_ok";

#check system
# check system #########################################################
syscheck;[ ! "$sanity" == "1" ] && echo "sanity fail" && sleep 5 && bye;
########################################################################

#initialize simplebuild
_create_native_profile; # put native datas to toolchains and configs
auto_langset; # echo "info $txt_load_ok";
_get_config_con "$1"; # echo $addons;exit;
_create_module_arrays; # fill module arrays
_fill_tc_array; # get # AVAI_TCLIST # INST_TCLIST # MISS_TCLIST
Expand Down Expand Up @@ -202,6 +202,9 @@ else
upload_cam "$2";
fi;
exit;;
syscheck)
syscheck silent $2;
exit;;
tedit) if [ -n "$2" ];then
for telement in ${INST_TCLIST[@]};do
if [ "$telement" == "$2" ];then
Expand All @@ -224,29 +227,24 @@ else

for t in "${AVAI_TCLIST[@]}";do
if [ "$t" == "$1" ];then

if [ "${2:0:3}" == "-p=" ] || [ "${2:0:3}" == "-P=" ];then
if [ -f "$profdir/${2#*=}" ];then
pf=$(cat "$profdir/${2#*=}");
pf_name="${2#*=}";
fi;
fi;

if [ "${3:0:3}" == "-p=" ] || [ "${3:0:3}" == "-P=" ];then
if [ -f "$profdir/${2#*=}" ];then
pf=$(cat "$profdir/${2#*=}");
pf_name="${2#*=}";
fi;
fi;

if [ "${2:0:5}" == "-upx=" ] || [ "${2:0:5}" == "-UPX=" ];then
UPX=${2#*=};USE_vars[USE_COMPRESS]="USE_COMPRESS=1";
fi;

if [ "${2:0:5}" == "-upx=" ] || [ "${2:0:5}" == "-UPX=" ];then
if [ "${3:0:5}" == "-upx=" ] || [ "${3:0:5}" == "-UPX=" ];then
UPX=${2#*=};USE_vars[USE_COMPRESS]="USE_COMPRESS=1";
fi;

[ "$pf" == "empty" ] && c_m_d="$*" || c_m_d="all_off $pf $*"; # set only active module with profiles
for cmd in $c_m_d;do
if [ "${cmd:0:3}" == "-c=" ] || [ "${cmd:0:3}" == "-C=" ];then
Expand Down Expand Up @@ -276,7 +274,6 @@ else
USE_VERBOSE) s3cfg_vars[USE_VERBOSE]=1;;
esac;
done;

_pre_build "$t";
exit;
fi;
Expand Down
2 changes: 1 addition & 1 deletion support/configs/compiler_option
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-Os
-O0
Loading

0 comments on commit 2697533

Please sign in to comment.