Skip to content

Commit

Permalink
Update environment.lua
Browse files Browse the repository at this point in the history
Adds the possibility to change $PREFIX from os ENV
  • Loading branch information
sosie-js authored Jul 24, 2024
1 parent 7fe1055 commit 5f4336d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/luke/environment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ return {
DEFAULTENV = filter_platforms {
LUAVERSION = LUAVERSION,

PREFIX = '/usr/local',
PREFIX = getenv('PREFIX')or'/usr/local',
INST_LIBDIR = '$PREFIX/lib/lua/$LUAVERSION',
INST_LUADIR = '$PREFIX/share/lua/$LUAVERSION',

Expand Down

0 comments on commit 5f4336d

Please sign in to comment.