Delay command execution by escaping in the install script.

This commit is contained in:
Marco Vermeulen
2012-12-09 17:40:10 +00:00
parent 8fd65b76fb
commit 772b81522f

View File

@@ -142,7 +142,7 @@ mkdir -p "${GVM_DIR}/vert.x"
echo "Attempting to update bash profile..."
SNIPPET=$( cat << EOF
#THIS MUST BE AT THE END OF THE FILE FOR GVM TO WORK!!!
[[ -s "${GVM_DIR}/bin/gvm-init.sh" && ! $(which gvm-init.sh) ]] && source "${GVM_DIR}/bin/gvm-init.sh"
[[ -s "${GVM_DIR}/bin/gvm-init.sh" && ! \$(which gvm-init.sh) ]] && source "${GVM_DIR}/bin/gvm-init.sh"
EOF
)