Skip to content

Commit

Permalink
Update sem-install, add quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
bogyo210 authored Dec 16, 2024
1 parent eb33cf4 commit 8070eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sem-install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand Down

0 comments on commit 8070eda

Please sign in to comment.