1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Fix tests

This commit is contained in:
Jordi Boggiano 2012-04-29 20:43:56 +02:00
parent 115dc407fa
commit b3164de813
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ class SvnDriver extends VcsDriver
*/
public function initialize()
{
$this->url = rtrim(self::normalizeUrl($this->url), '/');
$this->url = $this->baseUrl = rtrim(self::normalizeUrl($this->url), '/');
if (false !== ($pos = strrpos($this->url, '/trunk'))) {
$this->baseUrl = substr($this->url, 0, $pos);