Skip to content

Commit

Permalink
osgeo4w: fix rmdir quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 17, 2015
1 parent ece2319 commit e5c5454
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ms-windows/osgeo4w/package-nightly.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ set oldpath=%PATH%

set TEMP=%TEMP%\%PACKAGENAME%-%ARCH%
set TMP=%TEMP%
if exist %TEMP% rmdir /s /q %TEMP%
mkdir %TEMP%
if exist "%TEMP%" rmdir /s /q "%TEMP%"
mkdir "%TEMP%"

for %%g IN (%GRASS_VERSIONS%) do (
set path=!path!;%OSGEO4W_ROOT%\apps\grass\grass-%%g\lib
Expand All @@ -231,9 +231,9 @@ PATH %oldpath%

:skiptests

if exist %PKGDIR% (
if exist "%PKGDIR%" (
echo REMOVE: %DATE% %TIME%
rmdir /s /q %PKGDIR%
rmdir /s /q "%PKGDIR%"
)

echo INSTALL: %DATE% %TIME%
Expand Down
4 changes: 2 additions & 2 deletions ms-windows/osgeo4w/package.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ PATH %oldpath%
:skiptests
:package

if exist %PKGDIR% (
if exist "%PKGDIR%" (
echo REMOVE: %DATE% %TIME%
rmdir /s /q %PKGDIR%
rmdir /s /q "%PKGDIR%"
)

echo INSTALL: %DATE% %TIME%
Expand Down

0 comments on commit e5c5454

Please sign in to comment.