summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
authorJonathan Bauer2014-03-19 13:51:14 +0100
committerJonathan Bauer2014-03-19 13:51:14 +0100
commit14c635ac0dd6da001fdb7cee7f6bc7e22613a1c8 (patch)
tree9cdd81b1a2b654f15683f87376dea318f033504d /remote/setup_target
parent[pam] fix wrong permissions of temporary home dir (diff)
downloadtm-scripts-14c635ac0dd6da001fdb7cee7f6bc7e22613a1c8.tar.gz
tm-scripts-14c635ac0dd6da001fdb7cee7f6bc7e22613a1c8.tar.xz
tm-scripts-14c635ac0dd6da001fdb7cee7f6bc7e22613a1c8.zip
[setup_target] clean_modules fix
fix kernel-system not getting cleaned properly. Stronger kernel filter statement when re-setting the modules to clean.
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target
index 4b026a6d..172bc7d4 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -484,7 +484,7 @@ clean_modules() {
&& rm -rf "${TARGET_BUILD_DIR}"/* \
|| perror "Error deleting $TARGET_BUILD_DIR"
fi
- set -- $(ls ${TARGET_DIR} | grep -v kernel)
+ set -- $(ls ${TARGET_DIR} | grep -vE "^kernel$")
fi
cd "$TARGET_DIR"