Skip to content

Commit adabfa7

Browse files
author
Carlos Une
committed
install.sh, README.md: Update version number, single source file extension
1 parent c3ab3e1 commit adabfa7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ non-Fortran related package manager.
3636

3737
__Note:__ On Linux and MacOS, you will need to enable executable permission before you can use the binary.
3838

39-
_e.g._ `$ chmod u+x fpm-v0.1.0-linux-x86_64`
39+
_e.g._ `$ chmod u+x fpm-0.3.0-linux-x86_64`
4040

4141
#### Conda
4242

@@ -105,8 +105,8 @@ To build manually using the single source distribution, run the following code (
105105

106106
```
107107
mkdir _tmp
108-
curl -LJ https://github.com/fortran-lang/fpm/releases/download/v0.2.0/fpm-0.2.0.f90 > _tmp/fpm.f90
109-
gfortran -J _tmp _tmp/fpm.f90 -o _tmp/fpm
108+
curl -LJ https://github.com/fortran-lang/fpm/releases/download/v0.3.0/fpm-0.3.0.F90 > _tmp/fpm.F90
109+
gfortran -J _tmp _tmp/fpm.F90 -o _tmp/fpm
110110
_tmp/fpm install --flag "-g -fbacktrace -O3"
111111
rm -r _tmp
112112
```

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ done
4242

4343
set -u # error on use of undefined variable
4444

45-
SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v0.2.0/fpm-0.2.0.f90"
45+
SOURCE_URL="https://github.com/fortran-lang/fpm/releases/download/v0.3.0/fpm-0.3.0.F90"
4646
BOOTSTRAP_DIR="build/bootstrap"
4747
if [ -z ${FC+x} ]; then
4848
FC="gfortran"
@@ -62,9 +62,9 @@ else
6262
exit 1
6363
fi
6464

65-
$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.f90
65+
$FETCH $SOURCE_URL > $BOOTSTRAP_DIR/fpm.F90
6666

67-
$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.f90 -o $BOOTSTRAP_DIR/fpm
67+
$FC $FFLAGS -J $BOOTSTRAP_DIR $BOOTSTRAP_DIR/fpm.F90 -o $BOOTSTRAP_DIR/fpm
6868

6969
$BOOTSTRAP_DIR/fpm install --compiler "$FC" --flag "$FFLAGS" --prefix "$PREFIX"
7070
rm -r $BOOTSTRAP_DIR

0 commit comments

Comments
 (0)