NOAA-GFDL / SHiELD_build

Other
7 stars 17 forks source link

fixes issue #1 #5

Closed StevePny closed 2 years ago

StevePny commented 2 years ago

building in ubuntu docker container, gnu, arm64...

I get this error when building incrementally:

root@bd9eb8ef3929:/SHiELD_SRC/SHiELD_build/Build# mk_scripts/mk_paths shield gnu
/opt/mkmf/bin:/opt/netcdf/bin:/opt/openmpi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
mk_scripts/mk_paths: 50: pushd: not found

I found some guidance that said this is a bash command, but it's being called with "#!/bin/sh" as the header: https://stackoverflow.com/questions/5193048/bin-sh-pushd-not-found

I have fixed by changing the header of the makefiles to "#!/bin/bash"