From 7cc8a68ba929db44fa8f5f299a61f8c86ee9465b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 1 Sep 2008 19:28:06 +0000 Subject: Fixed last commit --- build/i18n-lua2xml.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/i18n-lua2xml.lua b/build/i18n-lua2xml.lua index 040edfbd8..674c8adb5 100755 --- a/build/i18n-lua2xml.lua +++ b/build/i18n-lua2xml.lua @@ -1,6 +1,8 @@ #!/usr/bin/lua local util = require "luci.util" +assert(arg[1]) + local x = {} local f = loadfile(arg[1]) setfenv(f, x) @@ -12,7 +14,7 @@ print '%s' % {k, util.pcdata(v)}) + print ('%s' % {k, v}) end print '' -- cgit v1.2.3