Fix to use correct $php_dir

This commit is contained in:
Shivam Mathur
2020-05-17 03:39:04 +05:30
parent c30a9630bb
commit 08c60fceea
5 changed files with 7 additions and 11 deletions

View File

@ -31,7 +31,8 @@ Function Install-Phalcon() {
$tick = ([char]8730)
$domain = 'https://github.com'
$php_dir = 'C:\tools\php'
$ext_dir = $php_dir + '\ext'
if($env:RUNNER -eq 'self-hosted') { $php_dir = "$php_dir$version" }
$ext_dir = "$php_dir\ext"
$extension_version = $extension.substring($extension.Length - 1)
if($extension_version -eq '4') {