forked from github/server
use the luarocks path in cron scripts
This commit is contained in:
parent
9160791ce1
commit
d4c299eaf4
|
@ -3,6 +3,7 @@
|
|||
[ "$PREVIEW" != "yes" ] && exit
|
||||
[ -z "${ERESSEA}" ] && ERESSEA="$HOME/eressea"
|
||||
|
||||
eval $(luarocks path)
|
||||
branch="develop"
|
||||
if [ -e "${ERESSEA}/build/.preview" ]; then
|
||||
branch=$(cat "${ERESSEA}/build/.preview")
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
eval $(luarocks path)
|
||||
GAME=$1
|
||||
(
|
||||
[ "$ENABLED" != "yes" ] && exit
|
||||
|
|
Loading…
Reference in New Issue