Skip to content

Commit

Permalink
Tweak install function for zsh compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Jan 21, 2013
1 parent 90b0475 commit 6793669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/scripts/gvm-install.sh
Expand Up @@ -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
Expand Down

0 comments on commit 6793669

Please sign in to comment.