aboutsummaryrefslogtreecommitdiff
path: root/embedding_example/run.sh
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-04 17:27:09 +0800
committerDeterminant <[email protected]>2015-08-04 17:27:09 +0800
commitc3effaac9e9965371a73f9c84c2a4e0880f32138 (patch)
treee6d68508dbafeb1840d97fc3709acfc3c6b74db3 /embedding_example/run.sh
parente20b60f659b08c46b9da0591ee489803f3f3d300 (diff)
fix gc issues
Diffstat (limited to 'embedding_example/run.sh')
-rwxr-xr-xembedding_example/run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/embedding_example/run.sh b/embedding_example/run.sh
new file mode 100755
index 0000000..e919263
--- /dev/null
+++ b/embedding_example/run.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+export LUA_PATH='/home/slhome/mfy43/.luarocks/share/lua/5.1/?.lua;/home/slhome/mfy43/.luarocks/share/lua/5.1/?/init.lua;/home/slhome/mfy43/nerv/install/share/lua/5.1/?.lua;/home/slhome/mfy43/nerv/install/share/lua/5.1/?/init.lua;./?.lua;/usr/local/share/luajit-2.0.4/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua'
+export LUA_CPATH='/home/slhome/mfy43/.luarocks/lib/lua/5.1/?.so;/home/slhome/mfy43/nerv/install/lib/lua/5.1/?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so'
+./main