diff options
author | John Keiser <john@johnkeiser.com> | 2016-02-10 15:04:40 -0800 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2016-02-10 15:07:29 -0800 |
commit | a2e7b95509e7607ecba21ac3ea42a5dced20f314 (patch) | |
tree | 2bf0887ed85228df3011877b6612f3e36d57af23 /ci | |
parent | daf010ed1549617cae8878ca0abbe37ab2a4719f (diff) | |
download | chef-a2e7b95509e7607ecba21ac3ea42a5dced20f314.tar.gz |
Fix Windows logicjk/remove-tempdir
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/verify-chef.bat | 9 |
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% |