Skip to content

Commit 8e3699d

Browse files
Copilotbrettcannon
andauthored
Remove retry loop from GNU config fetch
Co-authored-by: brettcannon <54418+brettcannon@users.noreply.github.com>
1 parent f77c1e5 commit 8e3699d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

autoconf/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ RUN PATCH_VERBOSE=1 curl https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archi
4949
RUN tmp=$(mktemp -d) \
5050
&& git -C "$tmp" init \
5151
&& git -C "$tmp" remote add origin https://git.savannah.gnu.org/git/config.git \
52-
&& for attempt in {1..5}; do \
53-
git -C "$tmp" fetch --depth=1 origin "$CONFIG_GIT_REV" && break; \
54-
if [[ "$attempt" == 5 ]]; then exit 1; fi; \
55-
sleep $((attempt * 5)); \
56-
done \
52+
&& git -C "$tmp" fetch --depth=1 origin "$CONFIG_GIT_REV" \
5753
&& git -C "$tmp" checkout FETCH_HEAD -- config.guess config.sub \
5854
&& install -m 755 "$tmp/config.guess" /usr/local/share/autoconf/build-aux/config.guess \
5955
&& install -m 755 "$tmp/config.sub" /usr/local/share/autoconf/build-aux/config.sub \

0 commit comments

Comments
 (0)