Commit:    3ac2037b5d55ddd5608a2ed3fe07a99c5955632a
Author:    Anatol Belski <a...@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)


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to