mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix composer_bin not found error
This commit is contained in:
parent
57db6baebb
commit
147905fd60
@ -71,7 +71,7 @@ add_tools_helper() {
|
||||
sudo ln -s "$tool_path" "$tool_path_dir"/phpdocumentor 2>/dev/null || true
|
||||
sudo ln -s "$tool_path" "$tool_path_dir"/phpdoc
|
||||
elif [[ "$tool" =~ phpunit(-polyfills)?$ ]]; then
|
||||
if [ -e "$tool_path_dir"/phpunit ]; then
|
||||
if [ -e "$tool_path_dir"/phpunit ] && [ -d "$composer_bin" ]; then
|
||||
sudo cp "$tool_path_dir"/phpunit "$composer_bin"
|
||||
fi
|
||||
elif [[ "$tool" =~ vapor-cli ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user