presidentbeef / brat

Brat is a little language for people who don't like to be told what to do.
https://www.brat-lang.info/
93 stars 6 forks source link

Wrong lua being used. #6

Closed felipetrz closed 11 years ago

felipetrz commented 11 years ago

build.sh tries to find "luajit" as "lua". Should be a simple fix. As a workaround, I've uninstalled the normal lua, and made a symlink on my PATH.

presidentbeef commented 11 years ago

Hi Felipe,

Thanks for trying out Brat! Sorry you ran into a problem.

What was the actual issue? What system are you on, Linux/Mac?

The build script should use the included luajit source and adjust your PATH accordingly. I just tested that it works for me with regular Lua installed.

felipetrz commented 11 years ago

The included luajit resulting binary is called 'luajit'.

I just made another test, changing the last line in the brat script from 'lua' to 'luajit', and the hashbang in the main script as well, and now it works fine.

presidentbeef commented 11 years ago

Okay, I see what happened. When I updated LuaJIT, it changed from luajit-2.0.0-beta9 to luajit, but I mistakenly thought it was changed to just lua, and removed the renaming from build.sh.

Thanks!