Commit: f22c2591172301ca7fbd225cf0d86d74c4dff35a Author: Anatol Belski <[email protected]> Fri, 15 Sep 2017 22:49:11 +0200 Parents: 1a51e1d9cc8d8285c3b8360828460b5241274783 Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f22c2591172301ca7fbd225cf0d86d74c4dff35a Log: Fix skip for non requested build type Changed paths: M script/snap.php Diff: diff --git a/script/snap.php b/script/snap.php index eae659c..2f64dc8 100644 --- a/script/snap.php +++ b/script/snap.php @@ -89,8 +89,8 @@ if ($branch->hasNewRevision() || $branch->hasUnfinishedBuild() || $force) { $build_errors = array(); foreach ($builds as $build_name) { - if (strcmp($build_type, 'all') != 0) { - if (substr_compare($build_name, $build_type, 0, 2) != 0) { // i.e. nts-windows-vc9-x86 + if ($build_type != 'all') { + if ($build_name != $build_type) { // i.e. nts-windows-vc9-x86 continue; } else { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
