Commit: 7cb8a60d7706658fcd0f110ebbc41e6083198640 Author: Anatol Belski <[email protected]> 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, -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
