svn: /pear2/Pyrus/trunk/src/Pyrus/Package/ Cloner.php

From: Date: Wed, 18 Nov 2009 22:33:27 +0000
Subject: svn: /pear2/Pyrus/trunk/src/Pyrus/Package/ Cloner.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9031@lists.php.net to get a copy of this message
saltybeagle Wed, 18 Nov 2009 22:33:27 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290956 Log: No need to unlink files that don't exist. Changed paths: U pear2/Pyrus/trunk/src/Pyrus/Package/Cloner.php Modified: pear2/Pyrus/trunk/src/Pyrus/Package/Cloner.php =================================================================== --- pear2/Pyrus/trunk/src/Pyrus/Package/Cloner.php 2009-11-18 22:22:35 UTC (rev 290955) +++ pear2/Pyrus/trunk/src/Pyrus/Package/Cloner.php 2009-11-18 22:33:27 UTC (rev 290956) @@ -146,7 +146,6 @@ if (isset($this->zip)) { if (file_exists($this->file . '.tar')) { \Phar::unlinkArchive($this->file . '.tar'); - unlink($this->file . '.tar'); } $this->tar = $this->zip->convertToData(\Phar::TAR, \Phar::NONE, $this->ext . '.tar'); $this->tar->setSignatureAlgorithm(\Phar::SHA1); @@ -159,7 +158,6 @@ // by process of elimination, the phar is in phar format if (file_exists($this->file . '.tar')) { \Phar::unlinkArchive($this->file . '.tar'); - unlink($this->file . '.tar'); } $this->tar = $this->phar->convertToData(\Phar::TAR, \Phar::NONE, $this->ext . '.tar'); $this->tar->setSignatureAlgorithm(\Phar::SHA1);

« previous php.pear.core (#9031) next »