diff --git a/includes/drush.inc b/includes/drush.inc index cad93f4..988d51c 100644 --- a/includes/drush.inc +++ b/includes/drush.inc @@ -1130,6 +1130,11 @@ function drush_tarball_extract($path, $destination = FALSE, $listing = FALSE) { } if ($listing) { $return = drush_shell_exec_output(); + // cut off the 'x ' prefix for the each line of the tar output + foreach($return as &$line) { + if(strpos($line, "x ") === 0) + $line = substr($line, 2); + } } // Remove the temporary file so the md5 hash is accurate.