sync: SHANGHAI-U9 2026-09-03
This commit is contained in:
@@ -128,7 +128,7 @@ if (-not (Test-Path $triage)) { Fail "gitea_triage.sh missing next to this scrip
|
||||
# Normalise to LF and no BOM before shipping it: a CRLF or BOM on the shebang line makes
|
||||
# sh fail with a "No such file or directory" that names the interpreter, not the cause.
|
||||
$triageStaged = Join-Path ([IO.Path]::GetTempPath()) "tools-sync-triage-$PID.sh"
|
||||
$triageText = ((Get-Content $triage -Raw) -replace "`r`n", "`n") -replace "^", ""
|
||||
$triageText = ((Get-Content $triage -Raw) -replace "`r`n", "`n") -replace "^$([char]0xFEFF)", ""
|
||||
[IO.File]::WriteAllText($triageStaged, $triageText, (New-Object System.Text.UTF8Encoding($false)))
|
||||
|
||||
$triageArgs = @("--container", $container, "--docker", $dockerBin, "--fix")
|
||||
|
||||
Reference in New Issue
Block a user