Merge pull request #1298 from SonicHedgehog/fix-check-root

Fix check-deploy skipping the root path
This commit is contained in:
Jose Diaz-Gonzalez
2015-07-13 10:31:21 -04:00
6 changed files with 51 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ do
[[ -z "$CHECK_URL" || "$CHECK_URL" =~ ^\# ]] && continue
# Ignore if it's not a URL in a supported format
# shellcheck disable=SC1001
! [[ "$CHECK_URL" =~ ^(http(s)?:)?\/.+ ]] && continue
! [[ "$CHECK_URL" =~ ^(http(s)?:)?\/.* ]] && continue
if [[ "$CHECK_URL" =~ ^https?: ]] ; then
URL_PROTOCOL=${CHECK_URL%:*}