diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-03 02:52:34 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-17 23:32:43 +0100 |
commit | 04a1c0d7add4ebe7a1092b7d22968d26fc0de379 (patch) | |
tree | 3863e49a398e914cfe5597d7f7fb61b263768eb3 /pkgs/tools/virtualization | |
parent | afeb3385fcc78d8fb133ec2bcabcb53a4facb227 (diff) |
treewide: fix quoting of GITHUB_TOKEN in curl
Diffstat (limited to 'pkgs/tools/virtualization')
-rwxr-xr-x | pkgs/tools/virtualization/linode-cli/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/virtualization/linode-cli/update.sh b/pkgs/tools/virtualization/linode-cli/update.sh index dd37e41c53738..f232dd1e03b09 100755 --- a/pkgs/tools/virtualization/linode-cli/update.sh +++ b/pkgs/tools/virtualization/linode-cli/update.sh @@ -9,7 +9,7 @@ SPEC_VERSION=$(curl -s https://www.linode.com/docs/api/openapi.yaml | yq eval '. SPEC_SHA256=$(nix-prefetch-url --quiet https://raw.githubusercontent.com/linode/linode-api-docs/v${SPEC_VERSION}/openapi.yaml) -VERSION=$(curl -s ${GITHUB_TOKEN:+"-u \":$GITHUB_TOKEN\""} \ +VERSION=$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \ -H "Accept: application/vnd.github.v3+json" \ "https://api.github.com/repos/linode/linode-cli/tags" \ | jq 'map(.name)' \ |