From: Jo-Philipp Wich Date: Thu, 16 Apr 2009 10:41:55 +0000 (+0000) Subject: build: also find and remove .gitignore files when installing sources X-Git-Tag: 0.9.0~510 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=e152620080cf0a279e2fa5219913ec6539c65733 build: also find and remove .gitignore files when installing sources --- 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