summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-11 17:32:55 +0100
committerJonathan Bauer2013-03-11 17:32:55 +0100
commit5bc5e9815fbeb08038fa08ab28f28a29f90e077d (patch)
tree38a5937af57aa55078453a16593b41af1495f256 /mltk
parentold files (diff)
downloadtm-scripts-5bc5e9815fbeb08038fa08ab28f28a29f90e077d.tar.gz
tm-scripts-5bc5e9815fbeb08038fa08ab28f28a29f90e077d.tar.xz
tm-scripts-5bc5e9815fbeb08038fa08ab28f28a29f90e077d.zip
mltk now uses setup_core
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mltk b/mltk
index 1513612f..b4ee268c 100755
--- a/mltk
+++ b/mltk
@@ -31,6 +31,7 @@ qnd_exit() {
. "${ROOT_DIR}/helper/downloader.inc"
. "${ROOT_DIR}/helper/fileutil.inc"
. "${ROOT_DIR}/helper/binutil.inc"
+. "${ROOT_DIR}/helper/system.inc"
pinfo "System's packet manager is $PACKET_MANAGER"
@@ -84,10 +85,10 @@ initial_checks() {
fi
# setup_tools and build_core
- BUILD_CORE="${ROOT_DIR}/server/build_core"
+ SETUP_CORE="${ROOT_DIR}/remote/setup_core"
SETUP_TOOLS="${ROOT_DIR}/remote/setup_tools"
- [ ! -e "${BUILD_CORE}" ] && perror "Missing script build_core, re-clone. Exiting."
+ [ ! -e "${SETUP_CORE}" ] && perror "Missing script build_core, re-clone. Exiting."
[ ! -e "${SETUP_TOOLS}" ] && perror "Missing script setup_tools, re-clone. Exiting."
}
@@ -177,7 +178,7 @@ run() {
if [[ $CORE_CLEAN == 1 || $CORE_BUILD == 1 ]]; then
[[ $CORE_DEBUG == 1 ]] && unset_quiet || set_quiet
local TOOL_STR="[CORE]"
- . "${BUILD_CORE}" || perror "Cannot source ${BUILD_CORE}"
+ . "${SETUP_CORE}" || perror "Cannot source ${SETUP_CORE}"
[[ $CORE_CLEAN == 1 ]] && clean_core
[[ $CORE_BUILD == 1 ]] && generate_stage31
fi