1
0
Fork 0

Merge pull request #5478 from averagegeek/patch-1

error in string comparison
pull/4944/merge
Jordi Boggiano 2016-06-29 18:05:19 +02:00 committed by GitHub
commit d31011106c
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ EXPECTED_SIGNATURE=$(wget https://composer.github.io/installer.sig -O - -q)
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');")
if [ "$EXPECTED_SIGNATURE" == "$ACTUAL_SIGNATURE" ]
if [ "$EXPECTED_SIGNATURE" = "$ACTUAL_SIGNATURE" ]
then
php composer-setup.php --quiet
RESULT=$?