From 921e9743a28ec800d5815a2b1a1b585674187f78 Mon Sep 17 00:00:00 2001 From: Ashish Patel Date: Wed, 11 May 2016 17:40:57 +0530 Subject: [PATCH] Found issue while creating such modman where more folder structure found Like I have made for one of magento extension which was not worked before. But after made this change it work good. Below is extension which I have made. https://github.com/m2epro/magento-extension --- src/ModmanGenerator/FileSystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModmanGenerator/FileSystem.php b/src/ModmanGenerator/FileSystem.php index 0786c2a..f6b84f4 100644 --- a/src/ModmanGenerator/FileSystem.php +++ b/src/ModmanGenerator/FileSystem.php @@ -83,7 +83,7 @@ public function getMatchedPaths() $files = $this->getVcsFiles(); //match directories preg_match_all( - '~app/code/([A-z_]+/){3}|app/locale/[^\n]*|app/etc/modules/[^\n]*|app/design/([^/\n]+/?){6}|(shell|js|skin)/[^\n]+|lib/[A-z]+/~s', + '~app/code/[^\n]*|app/locale/[^\n]*|app/etc/modules/[^\n]*|app/design/([^/\n]+/?){6}|(shell|js|skin)/[^\n]+|lib/[A-z]+/~s', $files, $matches ); return array_unique($matches[0]);