Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0a688c

Browse files
committed
Unix-like path to clean extensions
1 parent b9ce9ee commit b0a688c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/helpers/postgres.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ PATH %PATH%;%DEPENDENCIES_BIN_DIR%\libintl\lib;%DEPENDENCIES_BIN_DIR%\iconv\lib
101101
%PERL_EXE% install.pl %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql || GOTO :ERROR
102102

103103
REM remove test_* extensions after install
104-
rm -rf %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\share\extension\test_* || GOTO :ERROR
105-
rm -rf %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\lib\test_* || GOTO :ERROR
104+
rm -rf %BUILD_UDIR%/distr_%ARCH%_%PGVER%/postgresql/share/extension/test_* || GOTO :ERROR
105+
rm -rf %BUILD_UDIR%/distr_%ARCH%_%PGVER%/postgresql/lib/test_* || GOTO :ERROR
106106

107107
rem now actually copy DLLs of dependencies into our bindir
108108
cp -va %DEPENDENCIES_BIN_DIR%/libintl/lib/*.dll %BUILD_DIR%\distr_%ARCH%_%PGVER%\postgresql\bin || GOTO :ERROR

0 commit comments

Comments
 (0)