com web/rmtools: It's case sensitive in the array: include/PeclBuildVC.php
| From: | Anatol Belski | Date: | Fri, 03 Nov 2017 08:11:45 +0000 |
| Subject: | com web/rmtools: It's case sensitive in the array: include/PeclBuildVC.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26533@lists.php.net to get a copy of this message | ||
Commit: 3ac2037b5d55ddd5608a2ed3fe07a99c5955632a
Author: Anatol Belski <ab@php.net> Fri, 3 Nov 2017 09:11:45 +0100
Parents: b66d1344c555199bec68d9efca43d2802b148421
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=3ac2037b5d55ddd5608a2ed3fe07a99c5955632a
Log:
It's case sensitive in the array
Changed paths:
M include/PeclBuildVC.php
Diff:
diff --git a/include/PeclBuildVC.php b/include/PeclBuildVC.php
index 586b94b..be2a085 100644
--- a/include/PeclBuildVC.php
+++ b/include/PeclBuildVC.php
@@ -83,7 +83,11 @@ class PeclBuildVC {
function addPath($path)
{
- $this->env["PATH"] = $path . ";" . $this->env["PATH"];
+ if (isset($this->env["PATH"])) {
+ $this->env["PATH"] = $path . ";" . $this->env["PATH"];
+ } else if (isset($this->env["Path"])) {
+ $this->env["Path"] = $path . ";" . $this->env["Path"];
+ }
}
function setSourceDir($src_dir)