소스 검색

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

Benjamin Eberlei 12 년 전
부모
커밋
882ce1b39f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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.