From 8070eda54bdb59ecda33f3ff4691f0cbbd01e500 Mon Sep 17 00:00:00 2001 From: Nandor Bors Date: Mon, 16 Dec 2024 17:14:22 +0200 Subject: [PATCH] Update sem-install, add quotes --- sem-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sem-install b/sem-install index de48a328..ede6ce8c 100644 --- a/sem-install +++ b/sem-install @@ -18,7 +18,7 @@ install::package_url() { } install::available() { - response=$(curl --write-out %{http_code} --head --silent --output /dev/null $(install::package_url)/${language}/${language_version}.tar.gz) + response=$(curl --write-out %{http_code} --head --silent --output /dev/null "$(install::package_url)/${language}/${language_version}.tar.gz)" if [[ $response -ne 200 ]]; then echo 1 else @@ -27,7 +27,7 @@ install::available() { } install::download() { - curl --silent $(install::package_url)/${language}/${language_version}.tar.gz --output ${language_version}.tar.gz + curl --silent "$(install::package_url)/${language}/${language_version}.tar.gz --output ${language_version}.tar.gz" } install::install_node() {