github: Cache the gnu make tarball
This avoids breaking the build if the gnu download server is unavailable.
This commit is contained in:
1 parent
06e91d01b0
commit
b0bbde0073
2 files changed
+20
-1
No files matched your search
+3
-1
@@ -52,7 +52,9 @@ download() {
|
||||
}
|
||||
|
||||
if [ ! -d make-$MAKE_VERSION ]; then
|
||||
download https://ftpmirror.gnu.org/gnu/make/make-$MAKE_VERSION.tar.gz
|
||||
if [ ! -e make-$MAKE_VERSION.tar.gz ]; then
|
||||
download https://ftpmirror.gnu.org/gnu/make/make-$MAKE_VERSION.tar.gz
|
||||
fi
|
||||
tar -zxf make-$MAKE_VERSION.tar.gz
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user