diff --git a/Command/ExportTranslationsCommand.php b/Command/ExportTranslationsCommand.php index 643e3644..f6ccf10a 100644 --- a/Command/ExportTranslationsCommand.php +++ b/Command/ExportTranslationsCommand.php @@ -82,7 +82,7 @@ protected function getFilesToExport() */ protected function exportFile(FileInterface $file) { - $rootDir = $this->input->getOption('export-path') ? $this->input->getOption('export-path') . '/' : $this->getContainer()->getParameter('kernel.root_dir'); + $rootDir = $this->input->getOption('export-path') ? $this->input->getOption('export-path') : $this->getContainer()->getParameter('kernel.root_dir'); $this->output->writeln(sprintf('# Exporting "%s/%s":', $file->getPath(), $file->getName())); $override = $this->input->getOption('override');