set LUA_PATH for preview

This commit is contained in:
Enno Rehling 2021-02-28 17:15:33 +01:00
parent ccba09390b
commit 026bcb22cb
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
[ -z "${ERESSEA}" ] && ERESSEA="$HOME/eressea"
eval "$(luarocks path)"
export LUA_PATH="${ERESSEA}/git/scripts/?.lua;$LUA_PATH"
branch="develop"
if [ -e "${ERESSEA}/build/.preview" ]; then
branch=$(cat "${ERESSEA}/build/.preview")

View File

@ -1,3 +1,4 @@
print("package.path", package.path)
require 'eressea.path'
function nmr_check(maxnmrs)