Skip to content

Commit

Permalink
Fix nssm path (#6916)
Browse files Browse the repository at this point in the history
  • Loading branch information
song-jiang authored Oct 28, 2022
1 parent fd1fa45 commit 76f9693
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions calico/scripts/install-calico-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ if ((Get-Service -exclude 'CalicoUpgrade' | where Name -Like 'Calico*' | where S
Remove-Item $RootDir -Force -Recurse -ErrorAction SilentlyContinue
Write-Host "Unzip Calico for Windows release..."
Expand-Archive -Force $CalicoZip c:\
# This is a temporary fix to make sure nssm binary is in the correct path.
$nssmDir = Get-ChildItem $RootDir -filter "nssm*" -Directory
mv $nssmDir.fullname $RootDir\nssm-2.24

ipmo -force $RootDir\libs\calico\calico.psm1

# This comes after we import calico.psm1
Expand Down

0 comments on commit 76f9693

Please sign in to comment.