diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2018-11-26 01:24:55 +0300 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2018-11-27 00:48:33 +0300 |
commit | c1d17b924c34fa2ecbef00da26f621056dcb3d7d (patch) | |
tree | b84530b14a2bad32258f443a5b155ad04263ab49 /run.lua | |
parent | b94b9b19a7d35affe4691cc01a221bbea4a602b4 (diff) |
Fix Windows exit codes in compat.execute
Diffstat (limited to 'run.lua')
-rw-r--r-- | run.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ end local dir_sep = package.config:sub(1, 1) local quote = dir_sep == "/" and "'" or '"' -local pl_src = "lua" .. dir_sep .. "?.lua;lua" .. dir_sep .. "?" .. dir_sep .. "init.lua" +local pl_src = "lua/?.lua;lua/?/init.lua" lua = lua .. " -e " .. quote .. "package.path=[[" .. pl_src .. ";]]..package.path" .. quote local function run_directory(dir) |