Add -NoNewLine to portfile output (#1724)

This commit is contained in:
Daniel Jurek 2021-02-23 14:40:03 -08:00 committed by GitHub
parent f9d4d36ad8
commit be81e6d6e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,4 +56,4 @@ $portfileLocation = "$SourceDirectory/port/portfile.cmake"
$newContent = Get-Content -Raw -Path $portfileLocation `
| ForEach-Object { $_ -replace '(SHA512\s+)1', "`${1}$sha512" }
$newContent | Set-Content $portfileLocation
$newContent | Set-Content $portfileLocation -NoNewLine