From 27e149bd64ffe5674fa703868a3d3f75f2a32e12 Mon Sep 17 00:00:00 2001 From: "Miso Zmiric (Mike Squinter)" Date: Tue, 16 Jun 2015 15:12:40 +0100 Subject: [PATCH] allow the dist installer build to be called from a relative path --- distribution/windows/build.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/windows/build.ps1 b/distribution/windows/build.ps1 index c579e7b90d..e53b36e516 100644 --- a/distribution/windows/build.ps1 +++ b/distribution/windows/build.ps1 @@ -1,2 +1,3 @@ +$path = Split-Path $Script:MyInvocation.MyCommand.Path Write-Output "Building Windows Installer (NSIS script)"; -makensis /DVERSION_INCLUDE=win32.txt install.nsi > win32.log; \ No newline at end of file +makensis /DVERSION_INCLUDE=$path\win32.txt $path\install.nsi > $path\win32.log; \ No newline at end of file