mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Merge pull request #294 from majna/2.0-extract-win
Fixing ignored '--exclude-plugins' option on Windows for Extract task.
This commit is contained in:
commit
e95d67571b
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ class ExtractTask extends Shell {
|
|||
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, '/');
|
||||
|
|
Loading…
Add table
Reference in a new issue