From e152620080cf0a279e2fa5219913ec6539c65733 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 16 Apr 2009 10:41:55 +0000 Subject: [PATCH] build: also find and remove .gitignore files when installing sources --- build/module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/module.mk b/build/module.mk index 66b767c7a..de86855be 100644 --- a/build/module.mk +++ b/build/module.mk @@ -27,7 +27,7 @@ luasource: cp -pR luasrc/* dist$(LUCI_MODULEDIR) 2>/dev/null || true cp -pR lua/* dist$(LUA_MODULEDIR) 2>/dev/null || true cp -pR htdocs/* dist$(HTDOCS) 2>/dev/null || true - for i in $$(find dist -name .svn); do rm -rf $$i || true; done + for i in $$(find dist -name .svn -or -name .gitignore); do rm -rf $$i || true; done for i in dist$(LUCI_MODULEDIR)/i18n/*.xml; do [ -f "$$i" ] && rm $$i; done || true -- 2.25.1