|
|
@ -165,7 +165,7 @@ _get_root() { |
|
|
|
if [ "${hostedzone}" ]; then |
|
|
|
_zone_id=$(printf "%s\n" "${hostedzone}" | _egrep_o "\"zone_id\": *[0-9]+" | _head_n 1 | cut -d : -f 2 | tr -d \ ) |
|
|
|
if [ "${_zone_id}" ]; then |
|
|
|
_sub_domain=$(printf "%s" "${domain}" | cut -d . -f 1-${p}) |
|
|
|
_sub_domain=$(printf "%s" "${domain}" | cut -d . -f 1-"${p}") |
|
|
|
_domain="${h}" |
|
|
|
return 0 |
|
|
|
fi |
|
|
|