From 082e30b1c4a1d3a90b0bb8317319e72b8b010a68 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 14 Dec 2008 11:54:36 +0000 Subject: [PATCH] i18n: .xml should not overwrite .lua files if they are older --- build/module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.25.1