Skip to content

Commit

Permalink
Preventing duplicate EXE builds in Windows installer build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmmpxf committed Nov 30, 2011
1 parent 84ac957 commit 707edf2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions installer/windows/buildexe.bat
@@ -1,4 +1,4 @@
::@echo off
@echo off
:: This will build the OpenGeo Suite Windows executable
:: Assumes that
:: git://github.com/opengeo/suite.git
Expand Down Expand Up @@ -92,13 +92,12 @@ goto Build
:Build
:: Now build the EXE with NSIS

echo Running NSIS: version %version%, longversion %longversion%, [profile %profile%]
if "%profile%"=="ee" (
echo Running NSIS (version %version%, longversion %longversion%, profile %profile%)
makensis /DVERSION=%version% /DLONGVERSION=%longversion% /DEEPROFILE=-%profile% OpenGeoInstaller.nsi
) else (
echo Running NSIS (version %version%, longversion %longversion%)
makensis /DVERSION=%version% /DLONGVERSION=%longversion% /DEEPROFILE= OpenGeoInstaller.nsi
)
)

:: Clean up
rd /s /q ..\..\target\
Expand Down

0 comments on commit 707edf2

Please sign in to comment.