forked from github/server
set LUA_PATH for preview
This commit is contained in:
parent
ccba09390b
commit
026bcb22cb
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
[ -z "${ERESSEA}" ] && ERESSEA="$HOME/eressea"
|
[ -z "${ERESSEA}" ] && ERESSEA="$HOME/eressea"
|
||||||
|
|
||||||
eval "$(luarocks path)"
|
eval "$(luarocks path)"
|
||||||
|
export LUA_PATH="${ERESSEA}/git/scripts/?.lua;$LUA_PATH"
|
||||||
branch="develop"
|
branch="develop"
|
||||||
if [ -e "${ERESSEA}/build/.preview" ]; then
|
if [ -e "${ERESSEA}/build/.preview" ]; then
|
||||||
branch=$(cat "${ERESSEA}/build/.preview")
|
branch=$(cat "${ERESSEA}/build/.preview")
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
print("package.path", package.path)
|
||||||
require 'eressea.path'
|
require 'eressea.path'
|
||||||
|
|
||||||
function nmr_check(maxnmrs)
|
function nmr_check(maxnmrs)
|
||||||
|
|
Loading…
Reference in a new issue