From 75be28d4a30307dc94b033ab87b15fd710f90738 Mon Sep 17 00:00:00 2001 From: Moviuro Date: Tue, 3 Apr 2018 15:02:24 +0200 Subject: [PATCH] how-to-install-composer-programmatically.md: quotes are seatbelts --- doc/faqs/how-to-install-composer-programmatically.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/faqs/how-to-install-composer-programmatically.md b/doc/faqs/how-to-install-composer-programmatically.md index 70568c506..f075df65c 100644 --- a/doc/faqs/how-to-install-composer-programmatically.md +++ b/doc/faqs/how-to-install-composer-programmatically.md @@ -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