Skip to content

Commit

Permalink
install.sh: always bootstrap with 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Jun 25, 2024
1 parent 83b4412 commit c60802c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,9 @@ if [ $? -ne 0 ]; then
exit 2
fi

LATEST_RELEASE=$(get_latest_release "fortran-lang/fpm" "$FETCH")

# Fallback to a latest known release if network timeout
if [ -z "$LATEST_RELEASE" ]; then
LATEST_RELEASE="0.8.0"
fi

SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v${LATEST_RELEASE}/fpm-${LATEST_RELEASE}.F90"
# Use 0.8.0 too bootstrap
BOOTSTRAP_RELEASE="0.8.0"
SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v${BOOTSTRAP_RELEASE}/fpm-${BOOTSTRAP_RELEASE}.F90"
BOOTSTRAP_DIR="build/bootstrap"

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

0 comments on commit c60802c

Please sign in to comment.