You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/05/27 15:59:56 UTC

[5/5] git commit: [flex-sdk] [refs/heads/develop] - another tweak to script

another tweak to script


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/9a99c125
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/9a99c125
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/9a99c125

Branch: refs/heads/develop
Commit: 9a99c125431d2760f503dab29c5dac90b667a2cd
Parents: 92ba89e
Author: Alex Harui <ah...@apache.org>
Authored: Mon May 27 06:43:08 2013 +0100
Committer: Alex Harui <ah...@apache.org>
Committed: Mon May 27 14:59:16 2013 +0100

----------------------------------------------------------------------
 test_patch_by_email.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9a99c125/test_patch_by_email.sh
----------------------------------------------------------------------
diff --git a/test_patch_by_email.sh b/test_patch_by_email.sh
index 96fc5e6..d4e9e5d 100644
--- a/test_patch_by_email.sh
+++ b/test_patch_by_email.sh
@@ -24,6 +24,8 @@
 
 rm /var/spool/mail/mustellarunner
 fetchmail
+if [ -f "/var/spool/mail/mustellarunner" ]
+then
 cd mustella/utilities/PatchExtractor/src
 echo "launching patch extractor"
 "$AIR_HOME/bin/adl" -runtime "$AIR_HOME/runtimes/air/win" PatchExtractor-app.xml -- c:/cygwin/var/spool/mail/mustellarunner
@@ -43,3 +45,6 @@ b=`basename $file .patch`
 read replyAddr < $d/$b.reply
 sh test_patch.sh $file $replyAddr
 done
+else
+    echo "no messages"
+fi