Skip to content

Commit

Permalink
fix var syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkb7 committed Dec 4, 2024
1 parent 4d28662 commit 426699d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/winbuildscripts/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function Expand-ModCache() {
Write-Host "MODCACHE_XZ_FILE $MODCACHE_XZ_FILE MODCACHE_TAR_FILE $MODCACHE_TAR_FILE GOMODCACHE $env:GOMODCACHE"
if (Test-Path $MODCACHE_XZ_FILE) {
Write-Host "Extracting modcache file $MODCACHE_XZ_FILE"
& 7z.exe x $MODCACHE_XZ_FILE -o$MODCACHE_ROOT -bt
& 7z.exe x $MODCACHE_XZ_FILE -o"$MODCACHE_ROOT" -bt
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to extract $MODCACHE_XZ_FILE"
exit 1
Expand Down

0 comments on commit 426699d

Please sign in to comment.