1
0
Fork 0

Use lowercase sha in docs

pull/7778/head
Jordi Boggiano 2018-11-06 14:55:46 +01:00 committed by GitHub
parent 8e817d096b
commit 008475dee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ An alternative is to use this script which only works with UNIX utilities:
EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)" EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_SIGNATURE="$(php -r "echo hash_file('SHA384', '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 then