From 30397476da45e419a409710e7447bf0f10fcbcd9 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 26 Sep 2016 16:52:50 +0100 Subject: [PATCH] Don't munge the windows installer filename if there's no app suffix. --- Make.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Make.bat b/Make.bat index a4956ea88..42f4c32e7 100644 --- a/Make.bat +++ b/Make.bat @@ -126,7 +126,9 @@ GOTO:EOF SET APP_NAME="" FOR /F "tokens=2* DELims='" %%a IN ('findstr /C:"APP_NAME =" web\config.py') DO SET APP_NAME=%%a FOR /f "tokens=1 DELims=." %%G IN ('%PYTHON_HOME%/python.exe -c "print '%APP_NAME%'.lower().replace(' ', '')"') DO SET APP_SHORTNAME=%%G + SET INSTALLERNAME=%APP_SHORTNAME%-%APP_RELEASE%.%APP_REVISION_VERSION%-%APP_SUFFIX_VERSION%-%ARCHITECTURE%.exe + IF "%APP_SUFFIX_VERSION%" == "" SET INSTALLERNAME=%APP_SHORTNAME%-%APP_RELEASE%.%APP_REVISION_VERSION%-%ARCHITECTURE%.exe SET PGADMIN4_VERSION=v%APP_RELEASE% SET PGADMIN4_APP_VERSION=%APP_RELEASE%.%APP_REVISION_VERSION%