diff --git a/src/Command/Config/ExportCommand.php b/src/Command/Config/ExportCommand.php index 4eaf63ab9..d6ad3dd50 100644 --- a/src/Command/Config/ExportCommand.php +++ b/src/Command/Config/ExportCommand.php @@ -94,7 +94,8 @@ protected function interact(InputInterface $input, OutputInterface $output) */ protected function execute(InputInterface $input, OutputInterface $output) { - $directory = $input->getOption('directory'); + $drupal_root = $this->drupalFinder->getComposerRoot(); + $directory = $drupal_root.'/'.$input->getOption('directory'); $tar = $input->getOption('tar'); $removeUuid = $input->getOption('remove-uuid'); $removeHash = $input->getOption('remove-config-hash');