From: Jo-Philipp Wich Date: Tue, 19 Aug 2008 23:28:46 +0000 (+0000) Subject: * luci/build: fix bashism in module.mk X-Git-Tag: 0.8.0~342 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1cda67d3f1ee74ba12f6b63fce898819245d510;p=oweals%2Fluci.git * luci/build: fix bashism in module.mk --- diff --git a/build/module.mk b/build/module.mk index f54037850..7a5cc32ce 100644 --- a/build/module.mk +++ b/build/module.mk @@ -17,7 +17,7 @@ clean: luaclean i18n: [ -n "$(XSLTPROC)" ] && for i in luasrc/i18n/*.xml; do [ -f "$$i" ]\ - && $(XSLTPROC) $(MAKEPATH)i18n-lua-xhtml1.xsl $$i > $${i/.xml/.lua}; done || true + && $(XSLTPROC) $(MAKEPATH)i18n-lua-xhtml1.xsl $$i > $${i%%[.]xml}.lua; done || true luasource: mkdir -p dist$(LUA_MODULEDIR)