Skip to content

Commit d8b19d7

Browse files
authored
Fixed rebuildParsers.php (nikic#686)
phpyacc is a sh file and should not be run via the php interpreter, but directly.
1 parent 69c5d48 commit d8b19d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammar/rebuildParsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$kmyacc = getenv('KMYACC');
1717
if (!$kmyacc) {
1818
// Use phpyacc from dev dependencies by default.
19-
$kmyacc = PHP_BINARY . ' ' . __DIR__ . '/../vendor/bin/phpyacc';
19+
$kmyacc = __DIR__ . '/../vendor/bin/phpyacc';
2020
}
2121

2222
$options = array_flip($argv);

0 commit comments

Comments
 (0)