Index: drush/module_builder.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/module_builder/drush/module_builder.drush.inc,v
retrieving revision 1.1.2.68
diff -u -p -r1.1.2.68 module_builder.drush.inc
--- drush/module_builder.drush.inc	26 Jan 2011 20:17:09 -0000	1.1.2.68
+++ drush/module_builder.drush.inc	2 Feb 2011 17:59:19 -0000
@@ -465,6 +465,11 @@ function module_builder_drush_output_cod
       $module_dir .= '/';
     }
     
+    // If drush has appended 'contrib', hack it out and put the code in 'custom'.
+    if (substr($module_dir, -8, 7) == 'contrib') {
+      $module_dir = substr_replace($module_dir, 'custom', -8, 7);
+    }
+    
     if (drush_get_option('parent')) {
       // The --parent option allows the user to specify a location for the new module folder.
       $parent_dir = drush_get_option('parent');
