aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-10-28 11:53:07 -0200
committerHisham <hisham@gobolinux.org>2016-10-28 11:53:07 -0200
commit66cc4dfe45b4691a83b1b234bb626b60c16fd020 (patch)
treed74b9023c5cca64e143c6ba6dda56d4490964a33 /spec
parentf7ae6213f430798ec86883f9ab9917b156e1758d (diff)
downloadluarocks-66cc4dfe45b4691a83b1b234bb626b60c16fd020.tar.gz
luarocks-66cc4dfe45b4691a83b1b234bb626b60c16fd020.tar.bz2
luarocks-66cc4dfe45b4691a83b1b234bb626b60c16fd020.zip
Prefer versioned Lua interpreter if it exists.
This avoids in practice a problem that occurs in this scenario: 1. user installs Lua 5.1, gets lua and lua5.1 binaries 2. user installs LuaRocks, it detects and uses lua 3. user installs Lua 5.2, gets lua and lua5.2 binaries (lua is replaced) 4. user installs LuaRocks with --lua-version=5.2, it detects and uses lua 5. luarocks-5.1 now uses lua, which is Lua 5.2, rockspecs get passed the wrong value of $(LUA)
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions