summaryrefslogtreecommitdiff
path: root/server/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test.lua')
-rw-r--r--server/test.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/test.lua b/server/test.lua
index a83990c7..4288f7dd 100644
--- a/server/test.lua
+++ b/server/test.lua
@@ -1,9 +1,9 @@
local currentPath = debug.getinfo(1, 'S').source:sub(2)
-local rootPath = currentPath:gsub('[/\\][^/\\]-$', '')
-package.cpath = rootPath .. '/bin/?.so'
- .. ';' .. rootPath .. '/bin/?.dll'
-package.path = rootPath .. '/src/?.lua'
- .. ';' .. rootPath .. '/src/?/init.lua'
+local rootPath = currentPath:gsub('[^/\\]-$', '')
+package.cpath = rootPath .. 'bin/?.so'
+ .. ';' .. rootPath .. 'bin/?.dll'
+package.path = rootPath .. 'src/?.lua'
+ .. ';' .. rootPath .. 'src/?/init.lua'
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'