allow the dist installer build to be called from a relative path

This commit is contained in:
Miso Zmiric (Mike Squinter) committed 2015-06-16 15:18:59 +01:00
1 parent 4a69ded1c7
commit 27e149bd64
1 file changed
+2 -1
+2 -1
View File
@@ -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;
makensis /DVERSION_INCLUDE=$path\win32.txt $path\install.nsi > $path\win32.log;