Skip to content

Commit

Permalink
osgeo4w: use packagename instead of package version for temporary tes…
Browse files Browse the repository at this point in the history
…t directory and also set TMP
  • Loading branch information
jef-n committed Jul 15, 2015
1 parent f836672 commit 6ee1d67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ms-windows/osgeo4w/package-nightly.cmd
Expand Up @@ -208,9 +208,11 @@ if exist ..\skiptests goto skiptests
echo RUN_TESTS: %DATE% %TIME%

set oldtemp=%TEMP%
set oldtmp=%TMP%
set oldpath=%PATH%

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

Expand All @@ -224,6 +226,7 @@ cmake --build %BUILDDIR% --target Nightly --config %BUILDCONF%
if errorlevel 1 echo TESTS WERE NOT SUCCESSFUL.

set TEMP=%oldtemp%
set TMP=%oldtmp%
PATH %oldpath%

:skiptests
Expand Down

0 comments on commit 6ee1d67

Please sign in to comment.