GSoC Commit #1: LuCId + HTTP-Server
[project/luci.git] / build / hostenv.sh
1 #!/bin/sh
2 export LD_LIBRARY_PATH="$1/usr/lib:$LD_LIBRARY_PATH"
3 export PATH="$1/bin:$1/usr/bin:$PATH"
4 export LUA_PATH="$1/$2/?.lua;$1/$2/?/init.lua;;"
5 export LUA_CPATH="$1/$3/?.so;;"
6 export LUCI_SYSROOT="$1"
7 $4