Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tweak install function for zsh compatibility.

  • Loading branch information...
commit 679366954e53cb56e288d204aa6968f0bd83c81a 1 parent 90b0475
@marcoVermeulen marcoVermeulen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/resources/scripts/gvm-install.sh
View
2  src/main/resources/scripts/gvm-install.sh
@@ -40,7 +40,7 @@ function __gvmtool_install {
fi
return 1
- elif [[ "${VERSION_VALID}" == 'invalid' && "${LOCAL_FOLDER}" ]]; then
+ elif [[ "${VERSION_VALID}" == 'invalid' && -n "${LOCAL_FOLDER}" ]]; then
__gvmtool_install_local_version "${CANDIDATE}" "${VERSION}" "${LOCAL_FOLDER}" || return 1
else
Please sign in to comment.
Something went wrong with that request. Please try again.