diff options
author | bloodstalker <thabogre@gmail.com> | 2018-06-01 08:07:09 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-06-01 08:07:09 +0000 |
commit | c3531e8e096cf5f1ecc723acf602e157995267da (patch) | |
tree | 97eabe759383eb7b876fa15cd7cd42c270e6ef07 /bruiser/defaults.lua | |
parent | added test files for the wasm linker. added two scripts to extra-tools (diff) | |
download | mutator-c3531e8e096cf5f1ecc723acf602e157995267da.tar.gz mutator-c3531e8e096cf5f1ecc723acf602e157995267da.zip |
fixed a bug with default.lua. added the blueprint for the wasm interface to bruiser.
Diffstat (limited to '')
-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 |