Skip to content

Commit 605e671

Browse files
committed
fix make.ps1
1 parent bced0a2 commit 605e671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ Function PrivLazBuild {
5757
Start-Process -Wait -FilePath 'git' -ArgumentList 'submodule', 'update', '--recursive', '--init'
5858
Start-Process -Wait -FilePath 'git' -ArgumentList 'submodule', 'update', '--recursive', '--remote'
5959
Get-Content -Path 'use\components.txt' | ForEach-Object {
60-
If (-not (Start-Process -ea 'continue' -Wait -FilePath 'lazbuild' -ArgumentList '--verbose-pkgsearch', $_)) -and
60+
If ((-not (Start-Process -ea 'continue' -Wait -FilePath 'lazbuild' -ArgumentList '--verbose-pkgsearch', $_)) -and
6161
(-not (Start-Process -ea 'continue' -Wait -FilePath 'lazbuild' -ArgumentList '--add-package', $_)) -and
62-
(-not (Test-Path -Path 'use\components.txt')) {
62+
(-not (Test-Path -Path 'use\components.txt'))) {
6363
$OutFile = PrivWget "https://packages.lazarus-ide.org/$($_).zip"
6464
Expand-Archive -Path $OutFile -DestinationPath "use\$($_)" -Force
6565
Remove-Item $OutFile

0 commit comments

Comments
 (0)