aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-06-26 10:35:09 +0100
committerGitHub <noreply@github.com>2021-06-26 10:35:09 +0100
commit5617e65751193afb3c88fbc6cb8a32822ff52ffa (patch)
tree3e83ec876af656644642201412d09eca7f7016db /install.sh
parentc3ab3e13475f20565a49732d3c83a953691d53c3 (diff)
parentadabfa74ef4792f10e3cc9f8f7cef36aa56307b7 (diff)
downloadfpm-5617e65751193afb3c88fbc6cb8a32822ff52ffa.tar.gz
fpm-5617e65751193afb3c88fbc6cb8a32822ff52ffa.zip
Merge pull request #504 from brocolis/version-number
install.sh, README.md: Update version number, single source file extension
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 6c51304..59a422a 100755
--- a/install.sh
+++ b/install.sh
@@ -42,7 +42,7 @@ done
set -u # error on use of undefined variable
-SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v0.2.0/fpm-0.2.0.f90"
+SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v0.3.0/fpm-0.3.0.F90"
BOOTSTRAP_DIR="build/bootstrap"
if [ -z ${FC+x} ]; then
FC="gfortran"
@@ -62,9 +62,9 @@ else
exit 1
fi
-$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.f90
+$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.F90
-$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.f90 -o $BOOTSTRAP_DIR/fpm
+$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.F90 -o $BOOTSTRAP_DIR/fpm
$BOOTSTRAP_DIR/fpm install --compiler "$FC" --flag "$FFLAGS" --prefix "$PREFIX"
rm -r $BOOTSTRAP_DIR