aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorCarlos Une <brocolis@eml.cc>2021-06-26 02:12:48 -0300
committerCarlos Une <brocolis@eml.cc>2021-06-26 02:12:48 -0300
commitadabfa74ef4792f10e3cc9f8f7cef36aa56307b7 (patch)
tree3e83ec876af656644642201412d09eca7f7016db /install.sh
parentc3ab3e13475f20565a49732d3c83a953691d53c3 (diff)
downloadfpm-adabfa74ef4792f10e3cc9f8f7cef36aa56307b7.tar.gz
fpm-adabfa74ef4792f10e3cc9f8f7cef36aa56307b7.zip
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