repo.or.cz
/
lua-alt-overlay.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
dev-lua/luaexpat: bump to 1.3.3
[lua-alt-overlay.git]
/
dev-lang
/
luajit
/
files
/
luac.jit
blob
2f700641d6bc7ec8649bd2486d64e8553ede7455
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
;
6
}
7
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
18
;;
19
-v
)
20
luajit
-v
21
exit
0
;
22
;;
23
-p
)
24
out
=
"/dev/null"
25
;;
26
--help
)
27
help
28
;;
29
esac
30
let
i
=
${i}
+
1
31
done
;
32
luajit
-b
"
${@}
"
"
${out}
"