We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3730d commit c812c5cCopy full SHA for c812c5c
src/MagentoHackathon/Composer/Magento/Deploystrategy/Copy.php
@@ -37,7 +37,7 @@ public function createDelegate($source, $dest)
37
// Namespace/ModuleDir => Namespace/ModuleDir, but ModuleDir may exist
38
39
if (file_exists($destPath) && is_dir($destPath)) {
40
- if (basename($sourcePath) === basename($destPath)) {
+ if (strcmp($dest, $source) === 0) {
41
// copy each child of $sourcePath into $destPath
42
foreach (new \DirectoryIterator($sourcePath) as $item) {
43
$item = (string) $item;
0 commit comments