Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #294 from majna/2.0-extract-win

Fixing ignored '--exclude-plugins' option on Windows for Extract task.
  • Loading branch information...
commit e95d67571bd8b061cd29d75070b8d8b06c89c56b 2 parents 606c30b + 51ccbad
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Console/Command/Task/ExtractTask.php
View
2  lib/Cake/Console/Command/Task/ExtractTask.php
@@ -606,7 +606,7 @@ protected function _searchFiles() {
if (!empty($this->_exclude)) {
$exclude = array();
foreach ($this->_exclude as $e) {
- if ($e[0] !== DS) {
+ if (DS !== '\\' && $e[0] !== DS) {
$e = DS . $e;
}
$exclude[] = preg_quote($e, '/');
Please sign in to comment.
Something went wrong with that request. Please try again.