diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-24 15:08:44 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-24 15:09:55 -0700 |
| commit | b6c99c56a1f49a9230b65200a5a016173038857c (patch) | |
| tree | bfe893f8c746fc0ab6f8a84e93eb42bf762b3b63 /nomsu.lua | |
| parent | 3cf97066be82a3a3405246b7c915bac8773e6004 (diff) | |
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.
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
