[tor-commits] [guardfraction/master] Set STATE_DIR default to $GUARDFRACTION_SRC/var

asn at torproject.org asn at torproject.org
Tue Feb 24 13:45:03 UTC 2015


commit 4d71eaba598c0cd239037938cc58ab13b899c8d0
Author: Peter Palfrader <peter at 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
 





More information about the tor-commits mailing list