? drush-1000662.patch
? drush-745082.patch
? parche.txt
? includes/table.inc
Index: commands/pm/pm.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/pm.drush.inc,v
retrieving revision 1.191
diff -u -r1.191 pm.drush.inc
--- commands/pm/pm.drush.inc	31 Dec 2010 05:49:26 -0000	1.191
+++ commands/pm/pm.drush.inc	1 Jan 2011 18:17:10 -0000
@@ -998,7 +998,14 @@
     // Array of extensions (modules/themes) within the project.
     $extensions = array_keys($release[$lookup]);
     $path = _pm_find_common_path($release['project_type'], $extensions);
-    $data[$name]['path'] = $path;
+    $reserved = array('modules', 'sites', 'themes');
+    if ((in_array(basename($path), $reserved)) && (!in_array($name, $reserved))) {
+      drush_log(dt('Error while trying to find the common path for enabled extensions of project !project. Extensions are: !extensions.', array('!project' => $name, '!extensions' => implode(', ', $extensions))), 'error');
+      unset($data[$name]);
+    }
+    else {
+      $data[$name]['path'] = $path;
+    }
   }
 
   return $data;
