You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2007/02/28 01:06:14 UTC

svn commit: r512509 - /jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh

Author: bayard
Date: Tue Feb 27 16:06:13 2007
New Revision: 512509

URL: http://svn.apache.org/viewvc?view=rev&rev=512509
Log:
Attempting a fix to deal with the fact that vmbuild mail behaves quite differently to people.apache.org mail. This seems to stop the subject getting split up. 

Modified:
    jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh

Modified: jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh?view=diff&rev=512509&r1=512508&r2=512509
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh Tue Feb 27 16:06:13 2007
@@ -444,7 +444,7 @@
 then
   rm ${report_location}
   echo "Failed build logs:" > ${report_location}
-  subject="\"[nightly build] ${failed_builds[@]} failed.\""
+  subject="'[nightly build] ${failed_builds[@]} failed.'"
   for i in "${failed_builds[@]}"; do
     echo "${log_url}/${time_stamp}/${i}.log" >> ${report_location}
   done
@@ -454,7 +454,7 @@
   ssh $deploy_user@$deploy_host mail -s $subject $notification_email < ${report_location}
   ssh $deploy_user@$deploy_host rm /home/$deploy_user/build_report 
  else
-  mail -s $subject $notification_email < ${report_location}
+  eval "mail -s $subject $notification_email < ${report_location}"
  fi
   rm ${report_location}
 fi



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org