Skip to content

Commit

Permalink
Move (rather than link) the wgrib2 executable and delete build dir (#581
Browse files Browse the repository at this point in the history
)

Co-authored-by: rdenham <robert.denham@des.qld.gov.au>
Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 20, 2022
1 parent 87ff7fe commit 7447d06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install_wgrib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ cd grib2

## really someone needs to learn proper packaging conventions, but whatever
CC=gcc FC=gfortran make
ln -s /opt/grib2/wgrib2/wgrib2 /usr/local/bin/wgrib2
mv /opt/grib2/wgrib2/wgrib2 /usr/local/bin/wgrib2

# Clean up
rm -rf /var/lib/apt/lists/*
rm -rf /opt/grib2

## Strip binary installed lybraries from RSPM
## https://github.com/rocker-org/rocker-versioned2/issues/340
Expand Down

0 comments on commit 7447d06

Please sign in to comment.