Normalize package notice line endings independent of checkout settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -102,7 +102,9 @@ $licenses = Join-Path $stage 'LICENSES'
|
||||
New-Item -ItemType Directory -Force $licenses | Out-Null
|
||||
Copy-Item -LiteralPath $exe -Destination $stage
|
||||
Copy-Item -LiteralPath (Join-Path $build 'SDL3.dll') -Destination $stage
|
||||
Copy-Item -LiteralPath (Join-Path $PSScriptRoot 'THIRD-PARTY-NOTICES.txt') -Destination $stage
|
||||
# Repository templates are re-written with CRLF so checkout line-ending settings
|
||||
# cannot change the package bytes.
|
||||
Write-Text (Join-Path $stage 'THIRD-PARTY-NOTICES.txt') ([IO.File]::ReadAllLines((Join-Path $PSScriptRoot 'THIRD-PARTY-NOTICES.txt')))
|
||||
|
||||
# Licence texts, copied from the verified sources (never hand-written).
|
||||
Copy-Item -LiteralPath (Join-Path $sdl 'LICENSE.txt') -Destination (Join-Path $licenses 'SDL3.txt')
|
||||
|
||||
Reference in New Issue
Block a user