function infoFromTgzFile($file)
{
if (!@is_file($file)) {
- return $this->raiseError('tgz :: could not open file');
+ return $this->raiseError("tgz :: could not open file \"$file\"");
}
if (substr($file, -4) == '.tar') {
$compress = false;
$tar = new Archive_Tar($file, $compress);
$content = $tar->listContent();
if (!is_array($content)) {
- return $this->raiseError('tgz :: could not get contents of package');
+ return $this->raiseError("tgz :: could not get contents of package \"$file\"");
}
$xml = null;
foreach ($content as $file) {