|
@@ -63,6 +63,11 @@ EOT
|
|
|
throw new \InvalidArgumentException(sprintf('The target directory "%s" does not exist.', $input->getArgument('target')));
|
|
|
}
|
|
|
|
|
|
+ if (!function_exists('symlink') && $input->getOption('symlink')) {
|
|
|
+ throw new \InvalidArgumentException('The symlink()-Function is not available on your system.'
|
|
|
+ . ' You need to install the assets without the --symlink option.');
|
|
|
+ }
|
|
|
+
|
|
|
$filesystem = $this->container->get('filesystem');
|
|
|
|
|
|
// Create the bundles directory otherwise symlink will fail.
|