summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcore/bin/setup_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index da4c6678..8d606dac 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -534,7 +534,7 @@ clean_module() {
local TARGET=${1%:*}
local MODULE=${1#*:}
- local MODULE_DIR="${TARGET}/${MODULE}"
+ local MODULE_DIR="${CORE_DIR}/targets/${TARGET}/${MODULE}"
local MODULE_WORK_DIR="${ROOT_DIR}/tmp/work/${MODULE}"
if ! [ -d "$MODULE_DIR" ]; then