From 6256cfd1fedf45ce905f968ba1e5f4df741f979b Mon Sep 17 00:00:00 2001 From: Tomas Kmieliauskas Date: Wed, 3 Jan 2018 16:56:14 +0200 Subject: [PATCH] Fix export to custom paths --- Command/ExportTranslationsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');