summaryrefslogtreecommitdiffhomepage
path: root/build
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-19 23:28:46 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-19 23:28:46 +0000
commitd1cda67d3f1ee74ba12f6b63fce898819245d510 (patch)
tree08b2325c88f158defc7c3ac83492c4036811e3e4 /build
parentf0bc93711dd0f45c4aefec662dd2aa29d8d05a5e (diff)
* luci/build: fix bashism in module.mk
Diffstat (limited to 'build')
-rw-r--r--build/module.mk2
1 files changed, 1 insertions, 1 deletions
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)