Fix UUOC shellcheck warning

This commit is contained in:
Shivam Mathur 2022-02-09 03:40:58 +05:30
parent 7854a0cae7
commit 18f3abac75
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -155,7 +155,7 @@ add_composertool() {
release=$2 release=$2
prefix=$3 prefix=$3
scope=$4 scope=$4
composer_major_version=$(cat /tmp/composer_version | cut -d'.' -f 1) composer_major_version=$(cut -d'.' -f 1 /tmp/composer_version)
if [ "$composer_major_version" != "1" ]; then if [ "$composer_major_version" != "1" ]; then
composer_args="--ignore-platform-req=ext-*" composer_args="--ignore-platform-req=ext-*"
if [[ "$tool" =~ prestissimo|composer-prefetcher ]]; then if [[ "$tool" =~ prestissimo|composer-prefetcher ]]; then