Skip to content

Commit ea757d2

Browse files
authored
Merge pull request #235 from ruudk/allow-fd
Allow passing configure options without being a real file
2 parents eb4c247 + 2b86c75 commit ea757d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base/Abstracts/Console/Command/BuildCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected function buildOptions(Package $package, InputInterface $input, OutputI
101101
$force_opts = $input->getOption('with-configure-options');
102102

103103
if ($force_opts) {
104-
if (!file_exists($force_opts) || !is_file($force_opts) || !is_readable($force_opts)) {
104+
if (!file_exists($force_opts) || !(is_file($force_opts) || is_link($force_opts)) || !is_readable($force_opts)) {
105105
throw new Exception("File '{$force_opts}' is unusable");
106106
}
107107

0 commit comments

Comments
 (0)