fix double period in package names

This commit is contained in:
Toni Uebernickel 2014-10-01 08:52:49 +02:00
parent 2652ade31c
commit f383fc8a69

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;