diff --git a/process/cron/preview.cron b/process/cron/preview.cron index 63fe2ca76..5192d0f5a 100755 --- a/process/cron/preview.cron +++ b/process/cron/preview.cron @@ -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") diff --git a/process/cron/run-eressea.cron b/process/cron/run-eressea.cron index 697cc5e88..32ad873df 100755 --- a/process/cron/run-eressea.cron +++ b/process/cron/run-eressea.cron @@ -1,4 +1,6 @@ #!/bin/bash + +eval $(luarocks path) GAME=$1 ( [ "$ENABLED" != "yes" ] && exit