From cf3edd4abacf159a9d058b65223c55122ad4dbb0 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Mon, 13 May 2019 10:56:43 -0700 Subject: [PATCH] Use ipaddrs instead of hostname for build script --- src/scripts/dounifiedbuild.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/dounifiedbuild.ps1 b/src/scripts/dounifiedbuild.ps1 index b66ddbd..7908249 100644 --- a/src/scripts/dounifiedbuild.ps1 +++ b/src/scripts/dounifiedbuild.ps1 @@ -62,7 +62,7 @@ ssh $winserver "New-Item zqwbuild -itemtype directory" | Out-Null # So, we'll ssh to windows, and execute an scp command to pull files from here to there. # Same while copying the built msi. A straight scp pull from windows to here doesn't work, # so we ssh to windows, and then scp push the file to here. -$myhostname = (hostname) | Out-String -NoNewline +$myhostname = (ipconfig getifaddr en0) | Out-String -NoNewline # Powershell seems not to be able to remove this directory for some reason! # Remove-Item -Path /tmp/zqwbuild -Recurse -ErrorAction Ignore | Out-Null bash "rm -rf /tmp/zqwbuild" 2>&1 | Out-Null