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/30 23:41:51 UTC

[2/3] git commit: [flex-sdk] [refs/heads/develop] - don't send mail if there isn't an email address parameter

don't send mail if there isn't an email address parameter


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

Branch: refs/heads/develop
Commit: 53430d64c43a8c6b3fa0d334d696e6389f63b35a
Parents: f5ec601
Author: Alex Harui <ah...@apache.org>
Authored: Thu May 30 21:38:13 2013 +0100
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 30 22:41:33 2013 +0100

----------------------------------------------------------------------
 test_patch.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/53430d64/test_patch.sh
----------------------------------------------------------------------
diff --git a/test_patch.sh b/test_patch.sh
index dcccf99..c34338f 100755
--- a/test_patch.sh
+++ b/test_patch.sh
@@ -35,7 +35,10 @@ cd mustella/utilities/MustellaTestChooser/src
 cd ../../../..
 if [ -s mustella/changes.txt ]
 then
-    mutt -s "Patch Received: running tests" $2 <mustella/changes.txt 
+    if [ $# -gt 1 ]
+    then
+        mutt -s "Patch Received: running tests" $2 <mustella/changes.txt
+    fi 
     ant main checkintests
 	rc=$?
 	if [[ $rc != 0 ]] ; then