Skip to content

Commit

Permalink
visuellverstehen#4 Avoid error on create directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Lademann committed Apr 19, 2021
1 parent b0b367f commit 4203161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Command/FetchWebsiteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$fetchDirectory = Environment::getPublicPath() . '/typo3temp/t3fetch';

// Create fetch directory
exec('mkdir ' . $fetchDirectory);
exec('mkdir -p ' . $fetchDirectory);

// Fetch website recursively
exec('wget -q -r ' . $input->getArgument('baseUrl') . ' -R "' . self::REJECT . '" -P ' . $fetchDirectory, $output, $status);
Expand Down

0 comments on commit 4203161

Please sign in to comment.