dev-lua/luaexpat: bump to 1.3.3
[lua-alt-overlay.git] / dev-lang / luajit / files / luac.jit
blob2f700641d6bc7ec8649bd2486d64e8553ede7455
1 #!/usr/bin/env sh
2 help() {
3 echo "This binary is only wrapper for LuaJIT-not-ready software"
4 echo "You should use 'luajit -b' if you want to compile bytecode manually."
5 exit 0;
8 out="luac.out"
9 i=1;
10 if [[ ${#} = 0 ]]; then help; fi
11 for args in "${@}"; do
12 case $args in
13 -o)
14 shift ${i}
15 out="${1}"
16 shift 1
17 i=0
19 -v)
20 luajit -v
21 exit 0;
23 -p)
24 out="/dev/null"
26 --help)
27 help
29 esac
30 let i=${i}+1
31 done;
32 luajit -b "${@}" "${out}"