mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
fix bug in --force on windows
This commit is contained in:
parent
54405317f4
commit
8a70f5c01c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue