diff --git a/claw.ps1 b/claw.ps1 index 2bc599e..9e6e4bf 100644 --- a/claw.ps1 +++ b/claw.ps1 @@ -164,7 +164,7 @@ function Invoke-Run($Name, $Script) { } $sa = Build-SshArgs Write-Host ">>> Running $Script on $Name" -ForegroundColor Green - Get-Content $sp -Raw | & ssh @sa "$HostUser@$HostIP" "bash -s" + (Get-Content $sp -Raw) | & ssh @sa "$HostUser@$HostIP" "tr -d '\r' | bash -s" } # ============================================================