mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-09 23:24:41 +07:00
Suppress php-config error
This commit is contained in:
@ -197,7 +197,7 @@ version=$1
|
||||
nodot_version=${1/./}
|
||||
old_versions="5.[3-5]"
|
||||
tool_path_dir="/usr/local/bin"
|
||||
existing_version=$(php-config --version | cut -c 1-3)
|
||||
existing_version=$(php-config --version 2>/dev/null | cut -c 1-3)
|
||||
[[ -z "${update}" ]] && update='false' || update="${update}"
|
||||
|
||||
# Setup PHP
|
||||
|
Reference in New Issue
Block a user