Index: drush_make.utilities.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush_make/Attic/drush_make.utilities.inc,v
retrieving revision 1.1.2.12
diff -u -F '^f' -u -F '^f' -r1.1.2.12 drush_make.utilities.inc
--- drush_make.utilities.inc	9 Nov 2009 01:13:28 -0000	1.1.2.12
+++ drush_make.utilities.inc	20 Nov 2009 13:43:44 -0000
@@ -155,7 +155,13 @@ function drush_make_prepare_install($tmp
 
 function drush_make_tar($tmp_path, $base_path) {
   drush_make_fill_path(dirname($base_path));
-  drush_shell_exec("tar -C%s -s/__build__/%s/ -Pc __build__ | gzip > %s", $tmp_path, basename($base_path, '.tar.gz'), $base_path);
+  $dirname = basename($base_path, '.tar.gz');
+  // Move the build directory to a more human-friendly name, so that tar will
+  // use it instead.
+  drush_shell_exec("mv %s/__build__ %s/%s", $tmp_path, $tmp_path, $dirname);
+  drush_shell_exec("tar -C %s -Pczf %s %s", $tmp_path, $base_path, $dirname);
+  // Move the build directory back to it's original location for consistency.
+  drush_shell_exec("mv %s/%s %s/__build__", $tmp_path, $dirname, $tmp_path);
 }
 
 /**
