From: Steven Barth Date: Sun, 14 Dec 2008 11:54:36 +0000 (+0000) Subject: i18n: .xml should not overwrite .lua files if they are older X-Git-Tag: 0.9.0~903 X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=082e30b1c4a1d3a90b0bb8317319e72b8b010a68 i18n: .xml should not overwrite .lua files if they are older --- diff --git a/build/module.mk b/build/module.mk index 18eda9d8b..8f3964ad6 100644 --- a/build/module.mk +++ b/build/module.mk @@ -16,7 +16,7 @@ compile: clean: luaclean i18n: - [ -n "$(XSLTPROC)" ] && for i in luasrc/i18n/*.xml; do [ -f "$$i" ]\ + [ -n "$(XSLTPROC)" ] && for i in luasrc/i18n/*.xml; do [ "$$i" -nt "$${i%%[.]xml}.lua" ]\ && $(XSLTPROC) $(MAKEPATH)i18n-lua-xhtml1.xsl $$i > $${i%%[.]xml}.lua; done || true luasource: