summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2015-11-19 12:58:23 +0100
committerJoakim Sindholt <opensource@zhasha.com>2015-11-19 12:58:23 +0100
commit1b02dd450f6f78ead67414ff0cc066ade872f33b (patch)
tree558cdd7d4c442a3eb4d5eb5a8829e23cdb3b85db
parentc974f3cf2b3be96a58a47d9ba0798250591df679 (diff)
don't use GLOBIGNORE
-rw-r--r--mkfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfile b/mkfile
index 059bda0..8f74d3e 100644
--- a/mkfile
+++ b/mkfile
@@ -9,6 +9,8 @@ clean:V:
rm -rf src/compiler-rt/clang_linux_builtin_$a
rm -f src/compiler-rt/make/platform/clang_linux_builtin_${a}.mk
done
- (cd include && GLOBIGNORE="u.h:.gitignore" && rm -rf *)
+ for f in include/*; do
+ if [ "$f" != "include/u.h" ]; then rm -rf "$f"; fi
+ done
(cd src/musl && make distclean >/dev/null)
rm -f src/build-lock