summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
authorSimon Rettberg2014-01-03 16:02:02 +0100
committerSimon Rettberg2014-01-03 16:02:02 +0100
commit215af57497faaef0c7f154ea7c8376837f17b186 (patch)
tree0404b736ecc368999606c8f74bf2f3d4d3873f5e /remote/setup_target
parent[kdm] Move bwlehrpool theme to its own module, kdm-theme-bwlp, (diff)
downloadtm-scripts-215af57497faaef0c7f154ea7c8376837f17b186.tar.gz
tm-scripts-215af57497faaef0c7f154ea7c8376837f17b186.tar.xz
tm-scripts-215af57497faaef0c7f154ea7c8376837f17b186.zip
Put module md5 files in target's build dir so we don't mess up when several targets contain the same modules
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target
index 1d5fb921..9b9e0f44 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -335,7 +335,8 @@ process_module() {
local TOOL_STR="[${MODULE}]"
local SOURCE_FLAG="$MODULE_BUILD_DIR/fetched_source.flag"
local BUILD_FLAG="$MODULE_BUILD_DIR/build_complete.flag"
- local MD5FILE="$MODULE_BUILD_DIR/module_checksum.md5"
+ local MD5FILE="${TARGET_BUILD_DIR}/opt/openslx/.mltk/${MODULE}.md5"
+ mkdir -p "${TARGET_BUILD_DIR}/opt/openslx/.mltk"
if [ ! -d "${MODULE_DIR}" ]; then
if [ -z "$DEPOF" ]; then
perror "Module directory for '$MODULE' not found in ${TAREGET_DIR}"