com web/rmtools: one more improvement to the log msg: client/script/pecl.php
| From: | Stephen A. Zarkos | Date: | Sat, 14 Sep 2013 21:21:49 +0000 |
| Subject: | com web/rmtools: one more improvement to the log msg: client/script/pecl.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-16679@lists.php.net to get a copy of this message | ||
Commit: 7cb8a60d7706658fcd0f110ebbc41e6083198640
Author: Anatol Belski <ab@php.net> Sat, 14 Sep 2013 23:21:49 +0200
Parents: 89e223a5bb995f3ea139932a2d6e4748dfe40fb8
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=7cb8a60d7706658fcd0f110ebbc41e6083198640
Log:
one more improvement to the log msg
Changed paths:
M client/script/pecl.php
Diff:
diff --git a/client/script/pecl.php b/client/script/pecl.php
index 2e3c4dd..98c0ec1 100644
--- a/client/script/pecl.php
+++ b/client/script/pecl.php
@@ -82,10 +82,14 @@ foreach ($builds as $build_name) {
echo 'Error: ' .. $e->getMessage() . PHP_EOL;
if ($mail_maintainers) {
+ $maintainer_mailto = $force_email ? $force_email: MAIL_TO_FALLBACK;
+
+ echo "Mailing info to <$maintainer_mailto>" . PHP_EOL;
+
rm\xmail(
MAIL_FROM,
/* no chance to have the maintainers mailto at this stage */
- $force_email ? $force_email: MAIL_TO_FALLBACK,
+ $maintainer_mailto,
'[PECL-DEV] Windows build: ' . basename($pkg_path),
"PECL build failed before it could start for the reasons below:\n\n" ..
$e->getMessage()
);
@@ -118,6 +122,8 @@ foreach ($builds as $build_name) {
}
}
+ echo "Mailing info to <$maintainer_mailto>" . PHP_EOL;
+
rm\xmail(
MAIL_FROM,
$maintainer_mailto,