Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bash script sourcing with symbolic links #686

Merged
merged 1 commit into from Mar 26, 2024

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Mar 26, 2024

@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.

@djhoese djhoese added bug component:build related to building or release creation labels Mar 26, 2024
@djhoese djhoese added this to the Polar2Grid 3.1 milestone Mar 26, 2024
@djhoese djhoese self-assigned this Mar 26, 2024
@coveralls
Copy link

Coverage Status

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

@djhoese djhoese merged commit a4d8503 into ssec:main Mar 26, 2024
9 checks passed
@djhoese djhoese deleted the bugfix-swbundle-p2ghome branch March 26, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component:build related to building or release creation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants