Skip to content
Snippets Groups Projects
Commit 5cbfad1a authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't consider the main domain

parent 28b8ebc4
No related branches found
No related tags found
No related merge requests found
......@@ -323,7 +323,7 @@ function check_domains {
for d in "${domains_array[@]}"
do
domain_param=$(echo "$d" | awk -F '=' '{print $1}')
if [[ $domain_param != "DEFAULT_DOMAIN_NAME" ]]; then
if [[ "$domain_param" != "DEFAULT_DOMAIN_NAME" && "$domain_param" != "${PROJECT_NAME}.local" ]]; then
domain_value=$(echo "$d" | awk -F '=' '{print $2}')
item_in_array "${domain_value}" "${checked_domains[@]}"
if [[ $? != 0 ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment