com web/rmtools: Don't enforce all, allow for an exact single build: script/snap.php
| From: | Anatol Belski | Date: | Fri, 15 Sep 2017 11:25:16 +0000 |
| Subject: | com web/rmtools: Don't enforce all, allow for an exact single build: script/snap.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26403@lists.php.net to get a copy of this message | ||
Commit: 3d77ce63738d8c82603c21e7b20285814ec5b10d
Author: Anatol Belski <ab@php.net> Fri, 15 Sep 2017 13:25:16 +0200
Parents: 7ba06049e44b71fe5be6a4cad9b974bd7531a52a
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=3d77ce63738d8c82603c21e7b20285814ec5b10d
Log:
Don't enforce all, allow for an exact single build
Changed paths:
M script/snap.php
Diff:
diff --git a/script/snap.php b/script/snap.php
index 29d9a04..e9512fd 100644
--- a/script/snap.php
+++ b/script/snap.php
@@ -12,7 +12,7 @@ if ($argc < 2 || $argc > 4) {
$have_build_run = false;
$branch_name = $argv[1];
-$build_type = "all"; /* $argv[2] */ /* Build both ts and NTS for one given arch. This
also complies with the top level script, otherwise it'd need a special SDK setup. */
+$build_type = $argv[2];
$force = isset($argv[3]) && $argv[3] ? true : false;
$sdk_arch = getenv("PHP_SDK_ARCH");
if (!$sdk_arch) {