diff --git a/src/Base/Abstracts/Console/Command/BuildCommand.php b/src/Base/Abstracts/Console/Command/BuildCommand.php index 54e8aeec..29eb87f3 100644 --- a/src/Base/Abstracts/Console/Command/BuildCommand.php +++ b/src/Base/Abstracts/Console/Command/BuildCommand.php @@ -101,7 +101,7 @@ protected function buildOptions(Package $package, InputInterface $input, OutputI $force_opts = $input->getOption('with-configure-options'); if ($force_opts) { - if (!file_exists($force_opts) || !is_file($force_opts) || !is_readable($force_opts)) { + if (!file_exists($force_opts) || !(is_file($force_opts) || is_link($force_opts)) || !is_readable($force_opts)) { throw new Exception("File '{$force_opts}' is unusable"); }