[Fusionforge-commits] r10856 - trunk/src/plugins/svncommitemail/bin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Oct 4 19:24:55 CEST 2010


Author: aljeux
Date: 2010-10-04 19:24:55 +0200 (Mon, 04 Oct 2010)
New Revision: 10856

Modified:
   trunk/src/plugins/svncommitemail/bin/commit-email.pl
Log:
Allow using fake sendmail for the test suite.

Modified: trunk/src/plugins/svncommitemail/bin/commit-email.pl
===================================================================
--- trunk/src/plugins/svncommitemail/bin/commit-email.pl	2010-10-04 17:24:50 UTC (rev 10855)
+++ trunk/src/plugins/svncommitemail/bin/commit-email.pl	2010-10-04 17:24:55 UTC (rev 10856)
@@ -45,7 +45,7 @@
 # You should define exactly one of these two configuration variables,
 # leaving the other commented out, to select which method of sending
 # email should be used.
-$sendmail = "/usr/sbin/sendmail";
+$sendmail = $ENV{SENDMAIL} || "/usr/sbin/sendmail";
 #$smtp_server = "127.0.0.1";
 
 # Svnlook path.




More information about the Fusionforge-commits mailing list