[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-tasks/master] Tweak plot.sh a bit more (#2394).



commit 88e082a13c85640ee3103f20404394fbc2a21376
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Nov 10 08:17:49 2011 +0100

    Tweak plot.sh a bit more (#2394).
---
 task-2394/plot.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/task-2394/plot.sh b/task-2394/plot.sh
index d3744e0..c8f0f4b 100755
--- a/task-2394/plot.sh
+++ b/task-2394/plot.sh
@@ -1,8 +1,8 @@
 #!/bin/bash
 COMMONS="commons-codec-1.4.jar"
-CURRENT=`date -u +%Y-%m-%d-%H-00-00`
+CURRENT=`date -d'30 minutes ago' -u +%Y-%m-%d-%H-00-00`
 
-if [ ! -f commons-codec-1.4.jar ]; then
+if [ ! -f $COMMONS ]; then
   echo "$COMMONS not found.  Please download Apache Commons Codec 1.4."
   exit 1
 fi

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits