diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php index ff1eeb544..9c850a672 100644 --- a/src/Composer/Repository/PathRepository.php +++ b/src/Composer/Repository/PathRepository.php @@ -137,7 +137,7 @@ class PathRepository extends ArrayRepository implements ConfigurableRepositoryIn $package['dist'] = array( 'type' => 'path', 'url' => $url, - 'reference' => sha1($json), + 'reference' => sha1($json . serialize($this->options)), ); $package['transport-options'] = $this->options;