owwwo
This commit is contained in:
commit
c7d30722bb
4 changed files with 282 additions and 0 deletions
20
install.sh
Executable file
20
install.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
DEST=/usr/bin/
|
||||
|
||||
LUA="/bin/env lua"
|
||||
if [ "$1" == "-h" ]; then
|
||||
echo "usage:"
|
||||
echo " $0 [options]"
|
||||
echo "options: "
|
||||
echo " -luajit: install using luajit (needs lfs_ffi: https://github.com/spacewander/luafilesystem)"
|
||||
exit
|
||||
elif [ "$1" == "-luajit" ]; then
|
||||
LUA="/bin/env luajit"
|
||||
fi
|
||||
|
||||
echo "#!/bin/sh" > lcmk
|
||||
echo "$LUA `pwd`/lcmk.lua $@" >> lcmk
|
||||
chmod +x lcmk
|
||||
|
||||
mv lcmk "$DEST"
|
Loading…
Add table
Add a link
Reference in a new issue