diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 3505fd9b..579c1559 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -45,7 +45,7 @@ get_pecl_version() { extension=$1 stability="$(echo "$2" | grep -m 1 -Eio "(alpha|beta|rc|snapshot)")" pecl_rest='https://pecl.php.net/rest/r/' - response=$(curl -q -sSL "$pecl_rest$extension"/allreleases.xml) + response=$(curl -sL "$pecl_rest$extension"/allreleases.xml) pecl_version=$(echo "$response" | grep -m 1 -Eio "(\d*\.\d*\.\d*$stability\d*)") if [ ! "$pecl_version" ]; then pecl_version=$(echo "$response" | grep -m 1 -Eo "(\d*\.\d*\.\d*)") diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 3c023f8c..0e8ffb67 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -51,7 +51,7 @@ get_pecl_version() { extension=$1 stability="$(echo "$2" | grep -m 1 -Eio "(alpha|beta|rc|snapshot)")" pecl_rest='https://pecl.php.net/rest/r/' - response=$(curl -q -sSL "$pecl_rest$extension"/allreleases.xml) + response=$(curl -sL "$pecl_rest$extension"/allreleases.xml) pecl_version=$(echo "$response" | grep -m 1 -Pio "(\d*\.\d*\.\d*$stability\d*)") if [ ! "$pecl_version" ]; then pecl_version=$(echo "$response" | grep -m 1 -Po "(\d*\.\d*\.\d*)") @@ -210,7 +210,7 @@ add_devtools() { # Function to setup the nightly build from master branch setup_master() { - curl -sSL https://github.com/shivammathur/php-builder/releases/latest/download/install.sh | bash -s "github" + curl -sL https://github.com/shivammathur/php-builder/releases/latest/download/install.sh | bash -s "github" } # Function to setup PECL