Fixed the line to download sha1sum.txt
This commit is contained in:
parent
75e8417936
commit
774d2e5251
|
@ -82,7 +82,7 @@ install:
|
|||
- ps: >-
|
||||
$client = New-Object Net.WebClient;
|
||||
$client.Headers.Add("user-agent", "appveyor-ci-build");
|
||||
$client.DownloadFile http://windows.php.net/downloads/releases/sha1sum.txt;
|
||||
$client.DownloadFile('http://windows.php.net/downloads/releases/sha1sum.txt','sha1sum.txt');
|
||||
If ($env:PHP_MINOR_VER -Match "latest") {
|
||||
$env:PHP_VERSION=type sha1sum.txt | where { $_ -match "php-($env:PHP_MAJOR_VER\.\d+)-src" } | foreach { $matches[1] } ;
|
||||
} Else {
|
||||
|
|
Loading…
Reference in a new issue