浏览代码

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());
         }