Эх сурвалжийг харах

Merge pull request #1681 from beberlei/GH-1591#2

[GH-1591] More fixing of Installation on Windows Azure. Renaming between...
Jordi Boggiano 12 жил өмнө
parent
commit
c13d6301f9

+ 2 - 0
src/Composer/Util/Filesystem.php

@@ -164,6 +164,8 @@ class Filesystem
 
 
                 return;
                 return;
             }
             }
+
+            return $this->copyThenRemove($source, $target);
         } else {
         } else {
             // We do not use PHP's "rename" function here since it does not support
             // We do not use PHP's "rename" function here since it does not support
             // the case where $source, and $target are located on different partitions.
             // the case where $source, and $target are located on different partitions.