Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2018-11-26 01:24:55 +0300
committerThijs Schreijer <thijs@thijsschreijer.nl>2018-11-27 00:48:33 +0300
commitc1d17b924c34fa2ecbef00da26f621056dcb3d7d (patch)
treeb84530b14a2bad32258f443a5b155ad04263ab49 /run.lua
parentb94b9b19a7d35affe4691cc01a221bbea4a602b4 (diff)
Fix Windows exit codes in compat.execute
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.lua b/run.lua
index f3e8a8b..3d637e7 100644
--- a/run.lua
+++ b/run.lua
@@ -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)