sync: SHANGHAI-U9 2026-09-03

This commit is contained in:
bowei
2026-09-03 05:12:51 +08:00
parent 48a4c5601f
commit 24b9c271e1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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")