From 11b88d35f89bcc679b09562b566478271137d649 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 8 Aug 2018 16:17:03 +0430 Subject: faultreiber is a submodule now. it generates binary file format parsers in C. the memory management side of faultreiber is not implemented yet since im on the fence on how to do it. faultreiber along with tablegen will completely automate the process of adding new file formats to bruiser. --- bruiser/defaults.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bruiser/defaults.lua') diff --git a/bruiser/defaults.lua b/bruiser/defaults.lua index 8f1692b..70ecefb 100644 --- a/bruiser/defaults.lua +++ b/bruiser/defaults.lua @@ -1,7 +1,7 @@ -- bruiser default script. -- This is run everytime bruiser is called. --- By default bruiser will look for a file named defaults.lua in the same --- directory as its executable. you can change the file using the --luadefault +-- By default bruiser will look for a file named defaults.lua in the same +-- directory as its executable. you can change the file using the --luadefault -- option. -- adds luarocks' path and cpath to bruiser @@ -12,7 +12,7 @@ function default_luarocks_modules() for line in luarocks_handle:lines() do local path = string.match(line, "LUA_PATH%s*=%s*('.+')") local cpath = string.match(line, "LUA_CPATH%s*=%s*('.+')") - if path ~= nil then + if path ~= nil then package.path = package.path..";"..string.sub(path, 2, -2) end if cpath ~= nil then -- cgit v1.2.3