Skip to content

Commit

Permalink
fix 'cp' in win build script
Browse files Browse the repository at this point in the history
it looks like I forgot the first argument to the 'cp' command!
  • Loading branch information
maltfield committed Jun 6, 2024
1 parent c374656 commit ac9e7fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/windows/buildExe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ if ( $? -ne $true -or $LastExitCode -ne 0 ){

pushd "${tmpDir}/buskill-app-deps/build/deps"

# show the contents of the "deps" dir before the copies
dir "$REPO_PATH\build\deps\"

# confirm that the checksums of all the files match what's expected in the
# the signed SHA256SUSM file.
Get-Content -Path SHA256SUMS |
Expand All @@ -153,12 +156,15 @@ Get-Content -Path SHA256SUMS |
[PSCustomObject]@{Path=$File;
Result=if ((Get-FileHash -Path $File -Algorithm SHA256).Hash -eq $Hash) {
# this file's hash matches our signed digest; copy it to our repo dir
cp "$REPO_PATH\build\deps\"
cp "$File" "$REPO_PATH\build\deps\"
} else {
"FAILED"
}
}}} | Format-List | Out-String

# show the contents of the "deps" dir after the copies
dir "$REPO_PATH\build\deps\"

# See https://docs.python.org/3.7/using/windows.html#installing-without-ui
Write-Output 'INFO: Installing python'
New-Item -Path C:\tmp -Type Directory | Out-String
Expand Down

0 comments on commit ac9e7fa

Please sign in to comment.