Browse Source

Other fix to ws in path names fix

PEAR_1_4DEV
Tomas V.V.Cox 23 years ago
parent
commit
dececbdb4c
  1. 5
      pear/PEAR/Common.php

5
pear/PEAR/Common.php

@ -701,10 +701,7 @@ class PEAR_Common extends PEAR
}
$tmpdir = System::mkTemp('-d pear');
$this->addTempFile($tmpdir);
if (!is_array($xml)) {
$xml = array($xml);
}
if (!$xml || !$tar->extractList($xml, $tmpdir)) {
if (!$xml || !$tar->extractList(array($xml), $tmpdir)) {
return $this->raiseError('could not extract the package.xml file');
}
return $this->infoFromDescriptionFile("$tmpdir/$xml");

Loading…
Cancel
Save