commit 4d71eaba598c0cd239037938cc58ab13b899c8d0 Author: Peter Palfrader peter@palfrader.org Date: Wed Feb 4 16:52:47 2015 +0100
Set STATE_DIR default to $GUARDFRACTION_SRC/var --- guardfraction_cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guardfraction_cron.sh b/guardfraction_cron.sh index ff10528..bcea7c4 100755 --- a/guardfraction_cron.sh +++ b/guardfraction_cron.sh @@ -7,12 +7,12 @@ set -u # Please edit the definitions below to your liking:
# Where the consensuses and data are going to be stored -STATE_DIR=/home/user/test/consensus_dir
#################################
GUARDFRACTION_SRC=$(dirname "$0") GUARDFRACTION_SRC=$(readlink -f "$GUARDFRACTION_SRC") +STATE_DIR="$GUARDFRACTION_SRC/var"
DAYS_WORTH=90