Test keys

This commit is contained in:
2023-08-26 14:03:29 +08:00
parent 9cda41867d
commit 0dd813c3bc
3 changed files with 38 additions and 2 deletions

View File

@@ -14,14 +14,14 @@ ghcup --version
which ghcup | grep foobarbaz
ghcup_fun() {
ghcup -v --url-source=file:$METADATA_FILE "$@"
ghcup -v --url-source="file:$METADATA_FILE" "$@"
}
case $TOOL in
ghcup)
ghcup_fun upgrade --force
;;
*) ghcup_fun install $TOOL --set $VERSION
*) ghcup_fun install "$TOOL" --set "$VERSION"
;;
esac