Skip to content

Commit c60802c

Browse files
committed
install.sh: always bootstrap with 0.8.0
1 parent 83b4412 commit c60802c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

install.sh

+3-8
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,9 @@ if [ $? -ne 0 ]; then
7171
exit 2
7272
fi
7373

74-
LATEST_RELEASE=$(get_latest_release "fortran-lang/fpm" "$FETCH")
75-
76-
# Fallback to a latest known release if network timeout
77-
if [ -z "$LATEST_RELEASE" ]; then
78-
LATEST_RELEASE="0.8.0"
79-
fi
80-
81-
SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v${LATEST_RELEASE}/fpm-${LATEST_RELEASE}.F90"
74+
# Use 0.8.0 too bootstrap
75+
BOOTSTRAP_RELEASE="0.8.0"
76+
SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v${BOOTSTRAP_RELEASE}/fpm-${BOOTSTRAP_RELEASE}.F90"
8277
BOOTSTRAP_DIR="build/bootstrap"
8378

8479
if [ -z ${FC+x} ]; then

0 commit comments

Comments
 (0)