com web/qa: Unsure where these are supposed to be coming from.. but lets initialize them as unkonwn: build.php
| From: | Hannes Magnusson | Date: | Fri, 21 Mar 2014 20:36:36 +0000 |
| Subject: | com web/qa: Unsure where these are supposed to be coming from.. but lets initialize them as unkonwn: build.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-67262@lists.php.net to get a copy of this message | ||
Commit: 8ef5f14b77a12293019020056f34572e8cba1b19
Author: Hannes Magnusson <bjori@mongodb.com> Fri, 21 Mar 2014 13:36:36 -0700
Parents: e01c47099c4286e0abcae7430106c519ada29cc0
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=8ef5f14b77a12293019020056f34572e8cba1b19
Log:
Unsure where these are supposed to be coming from.. but lets initialize them as unkonwn
Changed paths:
M build.php
Diff:
diff --git a/build.php b/build.php
index fa3add8..d9c7d46 100755
--- a/build.php
+++ b/build.php
@@ -11,6 +11,13 @@ if (substr($revision, 0, 1)!='r') {
$revision = "";
}
+if (!isset($build_type)) {
+ $build_type = "Unknown";
+}
+if (!isset($cpu)) {
+ $cpu = "Unknown";
+}
+
include("include/functions.php");
@@ -104,4 +111,4 @@ foreach ( scandir(BASE_REPORT_DIR."/$branch/$revision") as $report ) {
common_footer();
-?>
\ No newline at end of file
+?>