Skip to content

Commit

Permalink
Apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Aug 17, 2021
1 parent 147511f commit 2b86c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/Abstracts/Console/Command/BuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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_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");
}

Expand Down

0 comments on commit 2b86c75

Please sign in to comment.