diff --git a/images/linux/scripts/helpers/install.sh b/images/linux/scripts/helpers/install.sh index b31f0d303e95..e6b793bac50a 100644 --- a/images/linux/scripts/helpers/install.sh +++ b/images/linux/scripts/helpers/install.sh @@ -163,7 +163,7 @@ get_hash_from_remote_file() { exit 1 fi - matching_line=$(curl -fsSL "$url" | sed 's/ \{1,\}/ /g' | tr -d '`') + matching_line=$(curl -fsSL "$url" | sed 's/ */ /g' | tr -d '`') for keyword in "${keywords[@]}"; do matching_line=$(echo "$matching_line" | grep "$keyword") done