From 0b72687863b9b81f1ce6224aa97a8a1839f8532d Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Mar 25 2024 14:32:48 +0000 Subject: scripts/common-functions: cope with redirects in fetch_cache --- diff --git a/scripts/common-functions b/scripts/common-functions index fb45223..2db9860 100644 --- a/scripts/common-functions +++ b/scripts/common-functions @@ -12,7 +12,7 @@ fetch_cache() echo $CACHE_FILE return fi - curl "$CACHE_URL" -o "$CACHE_FILE" >/dev/null 2>&1 && echo $CACHE_FILE + curl -L "$CACHE_URL" -o "$CACHE_FILE" >/dev/null 2>&1 && echo $CACHE_FILE } fetch_branches()