diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-21 18:52:20 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-21 18:52:20 +0200 |
commit | 22c6ba9fa61221381d499ce5f2c8b520d2f6fcaf (patch) | |
tree | 6e0369b49da2a5efff9e7bba627b350bb5242d28 /bin/compiler/includes/functions.sh | |
parent | ce6b9de51a7fcf5f0bb4423be4fd273446546792 (diff) |
Bash: implemented installer script for server and modules (beta)
+ minor fixes
Diffstat (limited to 'bin/compiler/includes/functions.sh')
-rw-r--r-- | bin/compiler/includes/functions.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/compiler/includes/functions.sh b/bin/compiler/includes/functions.sh index 5113391dff..4dfaa46038 100644 --- a/bin/compiler/includes/functions.sh +++ b/bin/compiler/includes/functions.sh @@ -1,5 +1,5 @@ -function clean() { +function comp_clean() { echo "Cleaning build files" CWD=$(pwd) @@ -13,7 +13,7 @@ function clean() { cd $CWD } -function configure() { +function comp_configure() { CWD=$(pwd) cd $BUILDPATH @@ -39,7 +39,7 @@ function configure() { } -function build() { +function comp_build() { [ $MTHREADS == 0 ] && MTHREADS=`grep -c ^processor /proc/cpuinfo` && MTHREADS=$(($MTHREADS + 2)) echo "Using $MTHREADS threads" |