Explorar o código

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

Benjamin Eberlei %!s(int64=12) %!d(string=hai) anos
pai
achega
882ce1b39f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.