From 86c2096cfa11fbe746f5e4d3c0d89f9ae17f081c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 24 Aug 2014 00:37:03 +0200 Subject: [PATCH] use full path to preview script from cron. --- s/cron/previews.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/s/cron/previews.sh b/s/cron/previews.sh index fc9f5f70b..0e9a3e0e6 100755 --- a/s/cron/previews.sh +++ b/s/cron/previews.sh @@ -1,8 +1,9 @@ #!/bin/bash - -s/preview build master -s/preview version +[ -z $ERESSEA ] && ERESSEA=$HOME/eressea +SRC=$ERESSEA/git +$SRC/s/preview build master +$SRC/s/preview version for game in 2 3 4 ; do - s/preview -g $game run && \ - s/preview -g $game send + $SRC/s/preview -g $game run && \ + $SRC/s/preview -g $game send done