From b6c99c56a1f49a9230b65200a5a016173038857c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 24 Jul 2018 15:08:44 -0700 Subject: Updated package.nomsupath behavior to first search the installed locations, *then* search the current directory. This makes the system `nomsu` run properly, even if the local directory has a broken file that has the same name as a nomsu file. --- nomsu.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nomsu.lua') diff --git a/nomsu.lua b/nomsu.lua index 8d591e3..32592dc 100644 --- a/nomsu.lua +++ b/nomsu.lua @@ -48,7 +48,9 @@ if NOMSU_VERSION and NOMSU_PREFIX then _len_0 = _len_0 + 1 end return _accum_0 - end)(), ";") + end)(), ";") .. ";." +else + package.nomsupath = "." end local EXIT_SUCCESS, EXIT_FAILURE = 0, 1 local usage = [=[Nomsu Compiler -- cgit v1.2.3