summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-02-03 23:25:39 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-02-03 23:25:39 +0000
commit664c812884d764515594db6b971f344d0998c832 (patch)
treedfd567c1bc969e535b364772d2d9428644fe6072 /utils
parent8d1c395a60ee41a9ec37d7a4c9aafed7cf331a40 (diff)
downloadgitano-664c812884d764515594db6b971f344d0998c832.tar.gz
Change gfind to gmatch so script works with both 5.1 and 5.2
Diffstat (limited to 'utils')
-rw-r--r--utils/install-lua-bin2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/install-lua-bin b/utils/install-lua-bin
index 3353a34..5036ae9 100644
--- a/utils/install-lua-bin
+++ b/utils/install-lua-bin
@@ -24,7 +24,7 @@ do
-- transform the plugin path from colon separated to a table
-- for interpolation
local path = {}
- for entry in string.gfind(inst_plugin_path, "([^:]+)") do
+ for entry in string.gmatch(inst_plugin_path, "([^:]+)") do
path[#path+1] = ("%q"):format(entry)
end
inst_plugin_path = ("{%s}"):format(table.concat(path, ", "))