diff options
author | Jonathan Bauer | 2013-03-15 18:07:22 +0100 |
---|---|---|
committer | Jonathan Bauer | 2013-03-15 18:07:22 +0100 |
commit | c61c35397320ca4b36d25ea9b9b146d40e84c387 (patch) | |
tree | 3d01880e0ac69a0e29ca7515d9ca136916557faf /mltk | |
parent | yet another new structure (diff) | |
download | tm-scripts-c61c35397320ca4b36d25ea9b9b146d40e84c387.tar.gz tm-scripts-c61c35397320ca4b36d25ea9b9b146d40e84c387.tar.xz tm-scripts-c61c35397320ca4b36d25ea9b9b146d40e84c387.zip |
fix stage3.1 build script
Diffstat (limited to 'mltk')
-rwxr-xr-x | mltk | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -90,11 +90,8 @@ initial_checks() { pinfo "System's packet manager is $PACKET_MANAGER" # setup_tools and build_core - SETUP_CORE="${ROOT_DIR}/remote/setup_core" - SETUP_TOOLS="${ROOT_DIR}/remote/setup_tools" - - [ ! -e "${SETUP_CORE}" ] && perror "Missing script setup_core, re-clone. Exiting." - [ ! -e "${SETUP_TOOLS}" ] && perror "Missing script setup_tools, re-clone. Exiting." + SETUP_TARGET="${ROOT_DIR}/remote/setup_target" + [ ! -e "${SETUP_TARGET}" ] && perror "Missing script 'remote/setup_target', re-clone git. Exiting." } read_params() { @@ -182,8 +179,8 @@ read_params() { run() { if [[ $REMOTE_CLEAN == 1 || $REMOTE_BUILD == 1 ]]; then [[ $REMOTE_DEBUG == 1 ]] && unset_quiet || set_quiet - . "${SETUP_TOOLS}" || perror "Cannot source ${SETUP_TOOLS}" - [[ $REMOTE_CLEAN == 1 ]] && clean_tools $REMOTE_LIST_CLEAN + . "${SETUP_TARGET}" || perror "Cannot source ${SETUP_TARGET}" + [[ $REMOTE_CLEAN == 1 ]] && clean_modules $REMOTE_LIST_CLEAN [[ $REMOTE_BUILD == 1 ]] && generate_target $REMOTE_LIST_BUILD fi if [[ $SERVER_CLEAN == 1 || $SERVER_BUILD == 1 ]]; then |