Skip to content
Permalink
Browse files

osgeo4w: ignore rmdir result

  • Loading branch information
jef-n committed Sep 25, 2013
1 parent 067c1df commit a95bd7ded457017ebedfd48d42111d101c593a56
@@ -154,9 +154,10 @@ echo RUN_TESTS: %DATE% %TIME%>>%LOG% 2>&1
%DEVENV% qgis%VERSION%.sln /Project Nightly /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
REM if errorlevel 1 echo "TESTS WERE NOT SUCCESSFUL."

echo RMDIR: %DATE% %TIME%>>%LOG% 2>&1
rmdir /s /q %OSGEO4W_ROOT%\apps\%PACKAGENAME%
if errorlevel 1 goto error
if exist %OSGEO4W_ROOT%\apps\%PACKAGENAME% (
echo REMOVE: %DATE% %TIME%>>%LOG% 2>&1
rmdir /s /q %OSGEO4W_ROOT%\apps\%PACKAGENAME%
)

echo INSTALL: %DATE% %TIME%>>%LOG% 2>&1
%DEVENV% qgis%VERSION%.sln /Project INSTALL /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
@@ -151,9 +151,10 @@ echo RUN_TESTS: %DATE% %TIME%>>%LOG% 2>&1
%DEVENV% qgis%VERSION%.sln /Project Nightly /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
REM if errorlevel 1 echo "TESTS WERE NOT SUCCESSFUL."

echo RMDIR: %DATE% %TIME%>>%LOG% 2>&1
rmdir /s /q %OSGEO4W_ROOT%\apps\%PACKAGENAME%
if errorlevel 1 goto error
if exist %OSGEO4W_ROOT%\apps\%PACKAGENAME% (
echo REMOVE: %DATE% %TIME%>>%LOG% 2>&1
rmdir /s /q %OSGEO4W_ROOT%\apps\%PACKAGENAME%
)

echo INSTALL: %DATE% %TIME%>>%LOG% 2>&1
%DEVENV% qgis%VERSION%.sln /Project INSTALL /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
@@ -150,7 +150,6 @@ if errorlevel 1 goto error
if exist %OSGEO4W_ROOT%\apps\%PACKAGENAME% (
echo REMOVE: %DATE% %TIME%>>%LOG% 2>&1
rmdir /s /q %OSGEO4W_ROOT%\apps\%PACKAGENAME%
if errorlevel 1 goto error
)

echo INSTALL: %DATE% %TIME%>>%LOG% 2>&1
@@ -146,7 +146,6 @@ if errorlevel 1 goto error
if exist %OSGEO4W_ROOT%\apps\%PACKAGENAME% (
echo REMOVE: %DATE% %TIME%>>%LOG% 2>&1
rmdir /s /q %OSGEO4W_ROOT%\apps\%PACKAGENAME%
if errorlevel 1 goto error
)

echo INSTALL: %DATE% %TIME%>>%LOG% 2>&1

0 comments on commit a95bd7d

Please sign in to comment.
You can’t perform that action at this time.