oops
This commit is contained in:
parent
c7d30722bb
commit
3bb1ea3198
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
DEST=/usr/bin/
|
||||
|
||||
LUA="/bin/env lua"
|
||||
LUA="/bin/lua"
|
||||
if [ "$1" == "-h" ]; then
|
||||
echo "usage:"
|
||||
echo " $0 [options]"
|
||||
|
@ -10,11 +10,11 @@ if [ "$1" == "-h" ]; then
|
|||
echo " -luajit: install using luajit (needs lfs_ffi: https://github.com/spacewander/luafilesystem)"
|
||||
exit
|
||||
elif [ "$1" == "-luajit" ]; then
|
||||
LUA="/bin/env luajit"
|
||||
LUA="/bin/luajit"
|
||||
fi
|
||||
|
||||
echo "#!/bin/sh" > lcmk
|
||||
echo "$LUA `pwd`/lcmk.lua $@" >> lcmk
|
||||
echo "$LUA `pwd`/lcmk.lua \$@" >> lcmk
|
||||
chmod +x lcmk
|
||||
|
||||
mv lcmk "$DEST"
|
||||
|
|
Loading…
Reference in a new issue