com web/rmtools: fix mistake: include/BuildVC.php include/PeclBuildVC.php
| From: | Anatol Belski | Date: | Thu, 17 Nov 2016 10:34:16 +0000 |
| Subject: | com web/rmtools: fix mistake: include/BuildVC.php include/PeclBuildVC.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25900@lists.php.net to get a copy of this message | ||
Commit: 53a7dcbb5129ff5a3a54b630d6ecd385af858c07
Author: Anatol Belski <ab@php.net> Thu, 17 Nov 2016 11:34:16 +0100
Parents: 27400fd1f3f010cf56f4f8f57d9e3f8c82f028eb
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=53a7dcbb5129ff5a3a54b630d6ecd385af858c07
Log:
fix mistake
Changed paths:
M include/BuildVC.php
M include/PeclBuildVC.php
Diff:
diff --git a/include/BuildVC.php b/include/BuildVC.php
index a4de9bc..02e7b02 100644
--- a/include/BuildVC.php
+++ b/include/BuildVC.php
@@ -29,7 +29,7 @@ class BuildVC {
function __construct(Branch $branch, $build_name)
{
- $build_dir = $this->branch->config->getBuildDir();
+ $build_dir = $branch->config->getBuildDir();
if (!file_exists($build_dir)) {
throw new \Exception("Directory '$build_dir' doesn't exist");
}
diff --git a/include/PeclBuildVC.php b/include/PeclBuildVC.php
index f13df7d..3f875ad 100644
--- a/include/PeclBuildVC.php
+++ b/include/PeclBuildVC.php
@@ -30,7 +30,7 @@ class PeclBuildVC {
function __construct(PeclBranch $branch, $build_name)
{
- $build_dir = $this->config->getBuildDir();
+ $build_dir = $branch->config->getBuildDir();
if (!file_exists($build_dir)) {
throw new \Exception("Directory '$build_dir' doesn't exist");
}