summaryrefslogtreecommitdiffstats
path: root/core/bin
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-09 14:51:45 +0200
committerSimon Rettberg2021-07-09 14:51:45 +0200
commitc97bb9524bb869946604ae976d8fa7c150b469ba (patch)
tree6a406fcab3a1e0c6ba603b2b9931bb99a18102c3 /core/bin
parentStore cloned repo information in target system (diff)
downloadmltk-c97bb9524bb869946604ae976d8fa7c150b469ba.tar.gz
mltk-c97bb9524bb869946604ae976d8fa7c150b469ba.tar.xz
mltk-c97bb9524bb869946604ae976d8fa7c150b469ba.zip
Fix var name
Diffstat (limited to 'core/bin')
-rwxr-xr-xcore/bin/setup_target8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index e028c7f3..41c23775 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -435,11 +435,11 @@ process_module() {
local MODULE_WORK_DIR="${ROOT_DIR}/tmp/work/${MODULE}"
local MODULE_BUILD_DIR="${MODULE_WORK_DIR}/build"
local TOOL_STR="[${MODULE}]"
- local SOURCE_FLAG="$MODULE_BUILD_DIR/meta/fetched_source.flag"
- local BUILD_FLAG="$MODULE_BUILD_DIR/meta/build_complete.flag"
- local AUTOCLONE_FILE="$MODULE_BUILD_DIR/meta/repos"
+ local SOURCE_FLAG="${MODULE_WORK_DIR}/meta/fetched_source.flag"
+ local BUILD_FLAG="${MODULE_WORK_DIR}/meta/build_complete.flag"
+ local AUTOCLONE_FILE="${MODULE_WORK_DIR}/meta/repos"
local MD5FILE="${TARGET_BUILD_DIR}/opt/openslx/.mltk/${MODULE}.md5"
- mkdir -p "${TARGET_BUILD_DIR}/opt/openslx/.mltk" "$MODULE_WORK_DIR/meta"
+ mkdir -p "${TARGET_BUILD_DIR}/opt/openslx/.mltk" "${MODULE_WORK_DIR}/meta"
if [ ! -d "${MODULE_DIR}" ]; then
if [ -z "$DEPOF" ]; then
perror "Module directory for '$MODULE' not found in ${TARGET_DIR}"