mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
for binaries prefer grunt from node_modules/.bin and for all /usr/local/bin over /usr/bin
This commit is contained in:
parent
f60c964d14
commit
0f6d2137a4
@ -115,11 +115,11 @@ function usage($err=null)
|
||||
|
||||
$bins = array(
|
||||
'php' => PHP_BINARY,
|
||||
'git' => '/usr/bin/git',
|
||||
'composer' => ['/usr/bin/composer', '/usr/bin/composer.phar'],
|
||||
'git' => ['/usr/local/bin/git', '/usr/bin/git'],
|
||||
'composer' => ['/usr/local/bin/composer', '/usr/bin/composer', '/usr/bin/composer.phar'],
|
||||
// npm and grunt are no hard requirement and should be the last in the list!
|
||||
'npm' => '/usr/bin/npm',
|
||||
'grunt' => '/usr/bin/grunt',
|
||||
'npm' => ['/usr/local/bin/npm', '/usr/bin/npm'],
|
||||
'grunt' => [__DIR__.'/node_modules/.bin/grunt', '/usr/local/bin/grunt', '/usr/bin/grunt'],
|
||||
);
|
||||
|
||||
// check if the necessary binaries are installed
|
||||
|
Loading…
Reference in New Issue
Block a user