Skip to content

Commit e319695

Browse files
committed
Fixed paths for download some sources and Readme.md
1 parent c6f9baa commit e319695

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ You can specify several environmental variables depending on desirable result:
2828
* SDK=[SDK71/MSVC2013/MSVC2015] -- MSVC version, default SDK71
2929
* PG_MAJOR_VERSION=[9.4/9.5/9.6/10] - major PostgreSQL version, default 10
3030
* PG_PATCH_VERSION=[1/7] - minor PostgreSQL version, default 1
31+
32+
* NOLOAD_SRC=[1] -- if variable has any value we will not download source
33+
34+
If you want to use GIT:
35+
36+
* GIT_BRANCH=[git branch name] -- if you sets this variables we will download source from git
37+
* GIT_PATH=[git path] -- git URL, git://git.postgresql.org/git/postgresql.git by default

build/helpers/dependencies.cmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ CD /D %DOWNLOADS_DIR%
6464
:BUILD_UUID
6565
TITLE Building uuid...
6666
CD /D %DOWNLOADS_DIR%
67-
wget -c http://netcologne.dl.sourceforge.net/project/osspuuidwin32/src/ossp_uuid_1.6.2_win32_source_120608.7z -O ossp_uuid_1.6.2_win32_source_120608.7z || GOTO :ERROR
67+
rem wget -c http://netcologne.dl.sourceforge.net/project/osspuuidwin32/src/ossp_uuid_1.6.2_win32_source_120608.7z -O ossp_uuid_1.6.2_win32_source_120608.7z || GOTO :ERROR
68+
wget -c https://iweb.dl.sourceforge.net/project/osspuuidwin32/src/ossp_uuid_1.6.2_win32_source_120608.7z -O ossp_uuid_1.6.2_win32_source_120608.7z || GOTO :ERROR
6869
rm -rf %DEPENDENCIES_BIN_DIR%\uuid %DEPENDENCIES_SRC_DIR%\ossp_uuid
6970
MKDIR %DEPENDENCIES_BIN_DIR%\uuid
7071
7z x %DOWNLOADS_DIR%\ossp_uuid_1.6.2_win32_source_120608.7z -o%DEPENDENCIES_SRC_DIR%\ -y || GOTO :ERROR

build/helpers/postgres.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GOTO :NOLOAD
2121
TITLE Building PostgreSQL...
2222
CD /D %DOWNLOADS_DIR%
2323
IF "%GIT_PATH%"=="" (
24-
SET GIT_PATH=https://git.postgrespro.ru/pgpro-dev/postgrespro.git
24+
SET GIT_PATH=git://git.postgresql.org/git/postgresql.git
2525
)
2626
IF NOT "%GIT_BRANCH%"=="" (
2727
rm -rf %BUILD_DIR%\postgresql

0 commit comments

Comments
 (0)