From a1caa774ab97b81c143d62ccc1601ac8c1f96411 Mon Sep 17 00:00:00 2001 From: ahlfors Date: Mon, 29 May 2023 16:28:45 +0800 Subject: [PATCH] add double quotes to avoid automatically insert a backslash before the left bracket when copy the url (#1641) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2aa7ea2c..6b7e37096 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ From Releases: ``` export PROVIDER={all,google,aws,kubernetes} -curl -LO https://github.com/GoogleCloudPlatform/terraformer/releases/download/$(curl -s https://api.github.com/repos/GoogleCloudPlatform/terraformer/releases/latest | grep tag_name | cut -d '"' -f 4)/terraformer-${PROVIDER}-linux-amd64 +curl -LO "https://github.com/GoogleCloudPlatform/terraformer/releases/download/$(curl -s https://api.github.com/repos/GoogleCloudPlatform/terraformer/releases/latest | grep tag_name | cut -d '"' -f 4)/terraformer-${PROVIDER}-linux-amd64" chmod +x terraformer-${PROVIDER}-linux-amd64 sudo mv terraformer-${PROVIDER}-linux-amd64 /usr/local/bin/terraformer ``` @@ -253,7 +253,7 @@ sudo mv terraformer-${PROVIDER}-linux-amd64 /usr/local/bin/terraformer ``` export PROVIDER={all,google,aws,kubernetes} -curl -LO https://github.com/GoogleCloudPlatform/terraformer/releases/download/$(curl -s https://api.github.com/repos/GoogleCloudPlatform/terraformer/releases/latest | grep tag_name | cut -d '"' -f 4)/terraformer-${PROVIDER}-darwin-amd64 +curl -LO "https://github.com/GoogleCloudPlatform/terraformer/releases/download/$(curl -s https://api.github.com/repos/GoogleCloudPlatform/terraformer/releases/latest | grep tag_name | cut -d '"' -f 4)/terraformer-${PROVIDER}-darwin-amd64" chmod +x terraformer-${PROVIDER}-darwin-amd64 sudo mv terraformer-${PROVIDER}-darwin-amd64 /usr/local/bin/terraformer ```