diff options
author | lns <matzeton@googlemail.com> | 2023-05-20 17:16:31 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-05-20 17:16:31 +0200 |
commit | fac703d878e45b227b5e938849466fe58d180253 (patch) | |
tree | 8b993735fce657515bc38dec824af460101b3443 /utils/azure_ip_addresses_download.sh | |
parent | 5e8f93c2d157b4af818bc80b2737ee17e920e8e9 (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-x | utils/azure_ip_addresses_download.sh | 2 |
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!" |