1
0
Fork 0

Merge pull request #7233 from moviuro/patch-1

how-to-install-composer-programmatically.md: quotes are seatbelts
pull/7253/head
Nils Adermann 2018-04-11 10:38:44 +01:00 committed by GitHub
commit c2ed944896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ An alternative is to use this script which only works with unix utils:
```bash
#!/bin/sh
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');"
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" ]
then