File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ CD /D %DOWNLOADS_DIR%
6464:BUILD_UUID
6565TITLE Building uuid...
6666CD /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
6869rm -rf %DEPENDENCIES_BIN_DIR% \uuid %DEPENDENCIES_SRC_DIR% \ossp_uuid
6970MKDIR %DEPENDENCIES_BIN_DIR% \uuid
70717z x %DOWNLOADS_DIR% \ossp_uuid_1.6.2_win32_source_120608.7z -o%DEPENDENCIES_SRC_DIR% \ -y || GOTO :ERROR
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ GOTO :NOLOAD
2121TITLE Building PostgreSQL...
2222CD /D %DOWNLOADS_DIR%
2323IF " %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)
2626IF NOT " %GIT_BRANCH% " == " " (
2727rm -rf %BUILD_DIR% \postgresql
You can’t perform that action at this time.
0 commit comments