Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
adding quotes around "something.trim()" breaks it for some reason

 * https://stackoverflow.com/a/59218860/1174102
  • Loading branch information
maltfield committed Mar 8, 2024
1 parent c86f6c8 commit 6ecd426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/windows/buildExe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ $signature_url = "https://github.com/vsajip/python-gnupg/releases/download/0.5.2

# download the latest version of the python-gnupg module
$filename = "$(Split-Path -Leaf "${file_url}")"
$filename = "${filename}.trim()" # https://stackoverflow.com/a/59218860/1174102
$filename = ${filename}.trim() # https://stackoverflow.com/a/59218860/1174102
curl -OutFile "${filename}" "${file_url}" | Out-String
echo $filename | Out-String

Expand Down

0 comments on commit 6ecd426

Please sign in to comment.