File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,18 +26,18 @@ SET GIT_PATH=git://git.postgresql.org/git/postgresql.git
26
26
)
27
27
28
28
IF NOT " %GIT_BRANCH% " == " " (
29
- rm -rf %BUILD_DIR% \postgresql
30
- MKDIR %BUILD_DIR% \postgresql
31
- MKDIR %BUILD_DIR% \postgresql\postgresql-%PGVER%
32
- git clone -b %GIT_BRANCH% %GIT_PATH% %BUILD_DIR% \postgresql\postgresql-%PGVER%
29
+ rm -rf %BUILD_DIR% \postgresql || GOTO : ERROR
30
+ MKDIR %BUILD_DIR% \postgresql || GOTO : ERROR
31
+ MKDIR %BUILD_DIR% \postgresql\postgresql-%PGVER% || GOTO : ERROR
32
+ git clone -b %GIT_BRANCH% %GIT_PATH% %BUILD_DIR% \postgresql\postgresql-%PGVER% || GOTO : ERROR
33
33
CD /D %BUILD_DIR% \postgresql\*%PGVER% * || GOTO :ERROR
34
34
35
35
GOTO :NOTAR
36
36
)
37
37
wget --no-check-certificate %PGURL% -O postgresql-%PGVER% .tar.bz2 || GOTO :ERROR
38
- rm -rf %BUILD_DIR% \postgresql
39
- MKDIR %BUILD_DIR% \postgresql
40
- tar xf postgresql-%PGVER% .tar.bz2 -C %BUILD_UDIR% /postgresql
38
+ rm -rf %BUILD_DIR% \postgresql || GOTO : ERROR
39
+ MKDIR %BUILD_DIR% \postgresql || GOTO : ERROR
40
+ tar xf postgresql-%PGVER% .tar.bz2 -C %BUILD_UDIR% /postgresql || GOTO : ERROR
41
41
CD /D %BUILD_DIR% \postgresql\*%PGVER% * || GOTO :ERROR
42
42
43
43
:NOTAR
You can’t perform that action at this time.
0 commit comments