summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-06 16:20:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-06 16:20:55 +0200
commiteaacfc671c88663ff14a094e0190359a211b46e8 (patch)
tree74cb256955cd34a606ca40cda9fc53a4cabcbbfb
parenta366efd9072c89902be45145f9d5b8781cfabd43 (diff)
only remove files from lowercase lists
-rw-r--r--mk/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index ae0806669..635d8bc63 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -213,7 +213,7 @@ clean:
@$(TRACE) clean
$(MAKE) -C $(CONFIG) clean
for d in ${STAGING_PKG_DIR}; do \
- for f in $$(ls $$d/[a-z]* 2>/dev/null); do \
+ for f in $$(ls $$d/[a-z]*|grep -v [A-Z] 2>/dev/null); do \
while read file ; do \
rm ${STAGING_DIR}/$$file 2>/dev/null;\
done < $$f ; \