Fixed rm for windows

This commit is contained in:
Dmitry Khomutov 2014-03-19 00:04:29 +07:00
parent 27023e157a
commit 0896b683a5

View file

@ -219,7 +219,7 @@ class Builder implements LoggerAwareInterface
$cmd = 'rm -Rf "%s"';
if (IS_WIN) {
$cmd = 'deltree /Y "%s"';
$cmd = 'rmdir /S /Q "%s"';
}
$this->executeCommand($cmd, $this->buildPath);