Merge pull request #289 from havvg/1.4

fix double period in package names
This commit is contained in:
Toni Uebernickel 2014-10-01 17:25:21 +02:00
commit 0aee6aa0c9

View file

@ -107,7 +107,7 @@ abstract class AbstractCommand extends ContainerAwareCommand
$package = ltrim(str_replace($baseDirectory, '', $package), DIRECTORY_SEPARATOR);
if (!empty($package)) {
$package = str_replace(DIRECTORY_SEPARATOR, '.', $package).'.';
$package = str_replace(DIRECTORY_SEPARATOR, '.', $package);
}
return $package;