[tor-commits] [metrics-tasks/master] Tweak plot.sh a bit more (#2394).
karsten at torproject.org
karsten at torproject.org
Thu Nov 10 07:18:11 UTC 2011
commit 88e082a13c85640ee3103f20404394fbc2a21376
Author: Karsten Loesing <karsten.loesing at gmx.net>
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
More information about the tor-commits
mailing list