소스 검색

Fix fossil update

bohwaz 8 년 전
부모
커밋
517a9b6f4c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Downloader/FossilDownloader.php

+ 1 - 1
src/Composer/Downloader/FossilDownloader.php

@@ -62,7 +62,7 @@ class FossilDownloader extends VcsDownloader
             throw new \RuntimeException('The .fslckout file is missing from '.$path.', see https://getcomposer.org/commit-deps for more information');
         }
 
-        $command = sprintf('fossil pull && fossil up', $url, $ref);
+        $command = sprintf('fossil pull && fossil up %s', $ref);
         if (0 !== $this->process->execute($command, $ignoredOutput, realpath($path))) {
             throw new \RuntimeException('Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput());
         }