flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/5] git commit: [flex-sdk] [refs/heads/develop] - another tweak to script
Date Mon, 27 May 2013 13:59:56 GMT
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 <aharui@apache.org>
Authored: Mon May 27 06:43:08 2013 +0100
Committer: Alex Harui <aharui@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


Mime
View raw message