On 17-12-2011 19:45, Aditya Mahajan wrote:
--- grph-fil.lua 2011-12-17 13:44:00.791168436 -0500
+++ grph-fil.lua 2011-12-17 13:44:26.158322675 -0500
@@ -46,7 +46,7 @@
if a == "function" then
a(name)
elseif a == "string" and action ~= "" then
- os.execute(a)
+ os.execute(action)
else
report_run("processing file, no action given for processing '%s'",name)
end

actually two buglets:

        local ta = type(action)
        if ta == "function" then
            action(name)
        elseif ta == "string" and action ~= "" then
            os.execute(action)
        else
report_run("processing file, no action given for processing '%s'",name)
        end



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to