diff options
Diffstat (limited to 'bruiser/defaults.lua')
-rw-r--r-- | bruiser/defaults.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bruiser/defaults.lua b/bruiser/defaults.lua index 756ba81..d0e91d4 100644 --- a/bruiser/defaults.lua +++ b/bruiser/defaults.lua @@ -10,10 +10,10 @@ function default_luarocks_modules() local path = string.match(line, "LUA_PATH%s*=%s*('.+')") local cpath = string.match(line, "LUA_CPATH%s*=%s*('.+')") if path ~= nil then - package.path = package.path..";"..path + package.path = package.path..";"..string.sub(path, 2, -2) end if cpath ~= nil then - package.cpath = package.cpath..";"..cpath + package.cpath = package.cpath..";"..string.sub(cpath, 2, -2) end end |