Allow action path variable maps to use functions as replacement values

This commit is contained in:
Jason Perkins 2015-02-04 19:19:16 -05:00
parent ae6ee359d1
commit 7ed7af38db

View File

@ -75,6 +75,9 @@
if varMap[token] then
result = varMap[token]
if type(result) == "function" then
result = result(environ)
end
end
-- If the result is an absolute path, and it is being inserted into