From 27f4185a1ba20a9140135b888239a63529f723bc Mon Sep 17 00:00:00 2001 From: Jens Date: Sun, 26 Jul 2026 00:46:07 +0200 Subject: [PATCH] fix: normalize Tower deploy script for bash --- scripts/deploy_tower.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy_tower.ps1 b/scripts/deploy_tower.ps1 index 0d496062..d3c6a565 100644 --- a/scripts/deploy_tower.ps1 +++ b/scripts/deploy_tower.ps1 @@ -44,7 +44,8 @@ $localScriptPath = [System.IO.Path]::GetTempFileName() $remoteScriptPath = "/tmp/geointel-deploy-$([System.Guid]::NewGuid().ToString('N')).sh" try { - [System.IO.File]::WriteAllText($localScriptPath, $remoteScript, $utf8NoBom) + $remoteScriptLf = $remoteScript -replace "`r`n", "`n" + [System.IO.File]::WriteAllText($localScriptPath, $remoteScriptLf, $utf8NoBom) $scpArgs = @( "-o", "BatchMode=yes",