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:
28
28
* SDK=[ SDK71/MSVC2013/MSVC2015] -- MSVC version, default SDK71
29
29
* PG_MAJOR_VERSION=[ 9.4/9.5/9.6/10] - major PostgreSQL version, default 10
30
30
* 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%
64
64
:BUILD_UUID
65
65
TITLE Building uuid...
66
66
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
68
69
rm -rf %DEPENDENCIES_BIN_DIR% \uuid %DEPENDENCIES_SRC_DIR% \ossp_uuid
69
70
MKDIR %DEPENDENCIES_BIN_DIR% \uuid
70
71
7z 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
21
21
TITLE Building PostgreSQL...
22
22
CD /D %DOWNLOADS_DIR%
23
23
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
25
25
)
26
26
IF NOT " %GIT_BRANCH% " == " " (
27
27
rm -rf %BUILD_DIR% \postgresql
You can’t perform that action at this time.
0 commit comments