[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-db/master] Tweak shell scripts.
commit 2caf3f1b11005718ade79bb20d58096e9fdf3e59
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed Nov 7 12:38:07 2012 -0500
Tweak shell scripts.
---
bin/run-bridgedescs | 4 +---
bin/run-bridgepools | 4 +---
bin/run-exitlists | 4 +---
bin/run-relaydescs | 4 +---
bin/run-torperf | 4 +---
5 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/bin/run-bridgedescs b/bin/run-bridgedescs
index 4bd6d28..78e4cab 100755
--- a/bin/run-bridgedescs
+++ b/bin/run-bridgedescs
@@ -1,5 +1,3 @@
#!/bin/sh
-
-# TODO is there a better way to suppress Ant's output?
-ant bridgedescs -q | grep -Ev "^$|^BUILD SUCCESSFUL|^Total time: "
+ant bridgedescs | grep "\[java\]"
diff --git a/bin/run-bridgepools b/bin/run-bridgepools
index dba4e1f..7c34e91 100755
--- a/bin/run-bridgepools
+++ b/bin/run-bridgepools
@@ -1,5 +1,3 @@
#!/bin/sh
-
-# TODO is there a better way to suppress Ant's output?
-ant bridgepools -q | grep -Ev "^$|^BUILD SUCCESSFUL|^Total time: "
+ant bridgepools | grep "\[java\]"
diff --git a/bin/run-exitlists b/bin/run-exitlists
index 768afa1..20064d6 100755
--- a/bin/run-exitlists
+++ b/bin/run-exitlists
@@ -1,5 +1,3 @@
#!/bin/sh
-
-# TODO is there a better way to suppress Ant's output?
-ant exitlists -q | grep -Ev "^$|^BUILD SUCCESSFUL|^Total time: "
+ant exitlists | grep "\[java\]"
diff --git a/bin/run-relaydescs b/bin/run-relaydescs
index f91f804..e39c31a 100755
--- a/bin/run-relaydescs
+++ b/bin/run-relaydescs
@@ -1,5 +1,3 @@
#!/bin/sh
-
-# TODO is there a better way to suppress Ant's output?
-ant relaydescs -q | grep -Ev "^$|^BUILD SUCCESSFUL|^Total time: "
+ant relaydescs | grep "\[java\]"
diff --git a/bin/run-torperf b/bin/run-torperf
index b192e87..c1bc2ba 100755
--- a/bin/run-torperf
+++ b/bin/run-torperf
@@ -1,5 +1,3 @@
#!/bin/sh
-
-# TODO is there a better way to suppress Ant's output?
-ant torperf -q | grep -Ev "^$|^BUILD SUCCESSFUL|^Total time: "
+ant torperf | grep "\[java\]"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits