aboutsummaryrefslogtreecommitdiff
path: root/utils/azure_ip_addresses_download.sh
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2023-05-20 17:16:31 +0200
committerlns <matzeton@googlemail.com>2023-05-20 17:16:31 +0200
commitfac703d878e45b227b5e938849466fe58d180253 (patch)
tree8b993735fce657515bc38dec824af460101b3443 /utils/azure_ip_addresses_download.sh
parent5e8f93c2d157b4af818bc80b2737ee17e920e8e9 (diff)
Improved helper scripts to be more restrictive.improved/helper-scripts
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'utils/azure_ip_addresses_download.sh')
-rwxr-xr-xutils/azure_ip_addresses_download.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/azure_ip_addresses_download.sh b/utils/azure_ip_addresses_download.sh
index 3e20b6119..0f7ed08e6 100755
--- a/utils/azure_ip_addresses_download.sh
+++ b/utils/azure_ip_addresses_download.sh
@@ -19,7 +19,7 @@ if [ "${http_response}" != "200" ]; then
exit 1
fi
-ORIGIN="$(grep -E 'ServiceTags_Public_[[:digit:]]+.json' ${LINK_TMP} | grep -o -E 'href=\"[^"]+' | sed 's/href="//' | uniq)"
+ORIGIN="$(grep -E 'ServiceTags_Public_[[:digit:]]+.json' ${LINK_TMP} | grep -o -E 'href="[^"]+' | sed 's/href="//' | uniq)"
rm -f ${LINK_TMP}
if [ -z "${ORIGIN}" ]; then
echo "Error ${LINK_ORIGIN} does not contain the url format!"