summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-02-10 15:04:40 -0800
committerJohn Keiser <john@johnkeiser.com>2016-02-10 15:07:29 -0800
commita2e7b95509e7607ecba21ac3ea42a5dced20f314 (patch)
tree2bf0887ed85228df3011877b6612f3e36d57af23 /ci
parentdaf010ed1549617cae8878ca0abbe37ab2a4719f (diff)
downloadchef-a2e7b95509e7607ecba21ac3ea42a5dced20f314.tar.gz
Fix Windows logicjk/remove-tempdir
Diffstat (limited to 'ci')
-rwxr-xr-xci/verify-chef.bat9
1 files changed, 2 insertions, 7 deletions
diff --git a/ci/verify-chef.bat b/ci/verify-chef.bat
index 30918b2900..769d368c92 100755
--- a/ci/verify-chef.bat
+++ b/ci/verify-chef.bat
@@ -13,13 +13,8 @@ ECHO.
REM ; Set the temporary directory to a custom location, and wipe it before
REM ; and after the tests run.
-IF %TEMP% (
- SET TEMP=%TEMP%\cheftest
- SET TMP=%TMP%\cheftest
-) ELSE (
- SET TEMP=%TEMP%\cheftest
- SET TMP=%TMP%\cheftest
-)
+SET TEMP=%TEMP%\cheftest
+SET TMP=%TMP%\cheftest
RMDIR /S /Q %TEMP%
MKDIR %TEMP%