ssec / polar2grid

Tools for reading, remapping, and writing satellite instrument data.
http://www.ssec.wisc.edu/software/polar2grid/
GNU General Public License v3.0
71 stars 33 forks source link

Fix bash script sourcing with symbolic links #686

Closed djhoese closed 3 months ago

djhoese commented 3 months ago

@kathys pointed out that she was getting errors during the initial steps of the software bundle scripts when it was trying to load the env.sh script. This was broken as part of #680 because I made the scripts relative symbolic links and they were not being resolved to the absolute path correctly.

This makes bash scripts depend on readlink -f of the system to work. This should be fine on all modern versions of linux and probably most versions of BSD-based systems.

Additionally, there was an old hdf5_backend.sh script which probably hasn't worked for years so I deleted it.

coveralls commented 3 months ago

Coverage Status

coverage: 85.333%. remained the same when pulling a712a7c40b65f71def34d0d8e3b86ad0c98f7049 on djhoese:bugfix-swbundle-p2ghome into 775aeb8d978a0fc2fe34504dfba82297564ad19e on ssec:main.