module_builder.drush.inc line 379 needs to be:

$module_dir .= '/' . $module_root_name;
instead of
$module_dir .= $module_root_name;

The current parent-project path is not correctly concatenated

Comments

joachim’s picture

Does $module_dir always come without a trailing slash?

Been a while since I looked at this feature -- I seem to remember it's not very robust, and working on all the various funny cases was looking like more work than just moving the folder in the file manager ... :/

Pretty low on my list of priorities but if it's a feature you need I'll review a patch :)

joachim’s picture

Status: Active » Fixed

This was partially fixed by #951084: Drush writes files into the main modules directory with the wrong filenames, and since I was in the area...

#919176 by joachim: Fixed Drush --parent option.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.