mirror of
https://github.com/php/php-src.git
synced 2026-04-13 02:52:48 +02:00
fix bug in --force on windows
This commit is contained in:
@@ -384,6 +384,7 @@ class PEAR_Installer extends PEAR_Common
|
||||
list($type, $data) = $tr;
|
||||
switch ($type) {
|
||||
case 'rename':
|
||||
@unlink($data[1]);
|
||||
@rename($data[0], $data[1]);
|
||||
$this->log(3, "+ mv $data[0] $data[1]");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user