1
0
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:
Greg Beaver
2003-09-04 22:21:33 +00:00
parent 54405317f4
commit 8a70f5c01c

View File

@@ -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;