Skip to content

Commit fde6a42

Browse files
committed
Using BUILD_TYPE variable to set correct DOCURL
1 parent d5d3f6d commit fde6a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/helpers/postgres.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ SET WGET=wget -N --no-check-certificate
192192
rem download help sources
193193
CD /D %DOWNLOADS_DIR%
194194
SET DOCURL=http://repo.l.postgrespro.ru/doc
195+
if "%BUILD_TYPE%" == "dev" SET DOCURL=http://repo.l.postgrespro.ru/doc/dev
195196

196197
if "%PRODUCT_NAME%" == "PostgresPro" %WGET% -O help-sources-en.zip %DOCURL%/pgpro/%PG_MAJOR_VERSION%/en/help-sources.zip || GOTO :ERROR
197198
if "%PRODUCT_NAME%" == "PostgresPro" %WGET% -O help-sources-ru.zip %DOCURL%/pgpro/%PG_MAJOR_VERSION%/ru/help-sources.zip || GOTO :ERROR

0 commit comments

Comments
 (0)