? .drush_make.download.inc.swp
? .drush_make.drush.inc.swp
? .drush_make.project.inc.swp
? .drush_make.utilities.inc.swp
Index: drush_make.project.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush_make/Attic/drush_make.project.inc,v
retrieving revision 1.1.2.13
diff -u -r1.1.2.13 drush_make.project.inc
--- drush_make.project.inc	25 Nov 2009 08:47:13 -0000	1.1.2.13
+++ drush_make.project.inc	25 Nov 2009 11:37:37 -0000
@@ -113,9 +113,12 @@
   }
 
   function recurse($path, $directory) {
-    $makefiles = drush_scan_directory($this->path . '/' . $directory, '/\.make$/');
+    $search_path = $this->path . (($this->type != 'core') ? '/' . $directory : '');
+
+    $makefiles = drush_scan_directory($search_path, '/\.make$/');
     if (!empty($makefiles)) {
-      $build_path = $this->generatePath(FALSE) . '/' . $directory;
+      $build_path = $this->generatePath(FALSE) . (($this->type != 'core') ? '/' . $directory : '');
+
       foreach ($makefiles as $file) {
         $info  = $this->queue->addItem('drush_make_parse_info_file', $file->filename);
         $valid = $this->queue->addItem('drush_make_validate_info_file', array(), $info);
@@ -126,6 +129,7 @@
   }
 }
 
+
 class DrushMakeProject_Core extends DrushMakeProject {
   function __construct(&$project) {
     $project['install_path'] = '';
