summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-08-07 12:52:25 +0200
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2010-08-07 12:52:25 +0200
commit006958ae29a235c9dfeebc647f41456c57c0730e (patch)
treecc60f10841b027f77fb29896efa518956eaf02e2
parentMake sure to update perl and run perl-cleaner afterwards. (diff)
downloadflameeyes-tinderbox-006958ae29a235c9dfeebc647f41456c57c0730e.tar.gz
flameeyes-tinderbox-006958ae29a235c9dfeebc647f41456c57c0730e.tar.bz2
flameeyes-tinderbox-006958ae29a235c9dfeebc647f41456c57c0730e.zip
Stop double-tweets when re-merging without tests.
-rwxr-xr-xemerge-wrapper.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/emerge-wrapper.sh b/emerge-wrapper.sh
index 571a382..5d81872 100755
--- a/emerge-wrapper.sh
+++ b/emerge-wrapper.sh
@@ -4,7 +4,10 @@ if [[ -f /var/log/emerge.log ]]; then
rm -f /var/log/emerge.log
fi
-echo "$1 queued" | bti
+# Don't tweet this away if we're running a non-test try
+if [[ -z "${FEATURES}" ]]; then
+ echo "$1 queued" | bti;
+fi
emerge --nospinner -1Du --keep-going --selective=n "$1" < /dev/null