luajit: point /usr/bin/lua to luajit if lua not selected
authorDanomi Manchego <danomimanchego123@gmail.com>
Sun, 30 Nov 2014 18:46:12 +0000 (13:46 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 30 Nov 2014 22:11:29 +0000 (23:11 +0100)
commit754a3cf860c1e5f398a76a61177f3acae91a999c
tree6a5ab2124e4a38af2aab3f18e2e90be6304beac3
parent93d0c5e0aa4a0bda5957a35acc407fdb778a25aa
luajit: point /usr/bin/lua to luajit if lua not selected

The luajit package is a provider of a lua interpreter, but does not install a
lua executable.  This is fine for scripts that explicitly invoke luajit, but
not so good for scripts that just need a lua interpreter and call lua.  This
mod creates a lua symlink so that the non-jit-specific scripts will still work.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/luajit/luajit.mk