Fixed rebuildParsers.php (#686)

phpyacc is a sh file and should not be run via the php interpreter, but directly.
This commit is contained in:
Mikaël Mayer 2020-07-16 14:51:43 -05:00 committed by GitHub
parent 69c5d48afd
commit d8b19d7963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ $tokensResultsFile = $resultDir . '/Tokens.php';
$kmyacc = getenv('KMYACC');
if (!$kmyacc) {
// Use phpyacc from dev dependencies by default.
$kmyacc = PHP_BINARY . ' ' . __DIR__ . '/../vendor/bin/phpyacc';
$kmyacc = __DIR__ . '/../vendor/bin/phpyacc';
}
$options = array_flip($argv);