forked from dmzgroup/lmk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathipgen
More file actions
executable file
·28 lines (21 loc) · 732 Bytes
/
ipgen
File metadata and controls
executable file
·28 lines (21 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
if [ "$LMK_HOME" = "" ] ; then
export LMK_HOME="$HOME/cm/src/lmk" ;
echo 'LMK_HOME not defined. Using:' $LMK_HOME ;
fi
export LUA_PATH="$LMK_HOME/scripts/?.lua;$LMK_HOME/scripts/src/?.lua;;"
export LUA_CPATH="$LMK_HOME/bin/`uname`/?.so;$LMK_HOME/bin/win32/?.dll;;"
if [ -d $LMK_HOME/bin/`uname` ] ; then
export LMK_BIN_HOME=$LMK_HOME/bin/`uname` ;
elif [ `uname -o` = "Cygwin" ] ; then
export LMK_BIN_HOME=$LMK_HOME/bin/win32 ;
fi
if [ "$LMK_BIN_HOME" = "" ] ; then
echo LMK_BIN_HOME not found ;
exit -1;
fi
if [ "$LMK_LUA" = "" ] ; then
export LMK_LUA=$LMK_BIN_HOME/lua ;
fi
#echo $LMK_LUA $LMK_HOME/scripts/iPhonePluginLoader.lua $* ;
"$LMK_LUA" $LMK_HOME/scripts/iPhonePluginLoader.lua $* ;