Browse Source

[GH-1591] More fixing of Installation on Windows Azure. Renaming between different partitions + xcopy fail, so we need to copyAndRemove() manually.

Benjamin Eberlei 12 năm trước cách đây
mục cha
commit
882ce1b39f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/Composer/Util/Filesystem.php

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

@@ -164,6 +164,8 @@ class Filesystem
 
                 return;
             }
+
+            return $this->copyThenRemove($source, $target);
         } else {
             // 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.