summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorSimon Rettberg2013-05-09 18:04:41 +0200
committerSimon Rettberg2013-05-09 18:04:41 +0200
commit742fa664d21d8d8a2e81e2e0c4a05e15980b274c (patch)
tree8668ee1b9f44794c36c448c5dc689d9205ebcd0f /remote
parentMerge branch 'master' of git:openslx-ng/tm-scripts (diff)
downloadtm-scripts-742fa664d21d8d8a2e81e2e0c4a05e15980b274c.tar.gz
tm-scripts-742fa664d21d8d8a2e81e2e0c4a05e15980b274c.tar.xz
tm-scripts-742fa664d21d8d8a2e81e2e0c4a05e15980b274c.zip
exclude kernel from -c without module name
Diffstat (limited to 'remote')
-rwxr-xr-xremote/setup_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/setup_target b/remote/setup_target
index f5e5f9e7..10d6b575 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -275,7 +275,7 @@ clean_modules() {
&& rm -rf "${TARGET_BUILD_DIR}"/* \
|| perror "Error deleting $TARGET_BUILD_DIR"
fi
- set -- $(ls ${TARGET_DIR})
+ set -- $(ls ${TARGET_DIR} | grep -v kernel)
fi
cd ${TARGET_DIR}
while (( "$#" )); do