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

More robust invocation of bash #787

Merged
merged 2 commits into from
Nov 13, 2021
Merged

More robust invocation of bash #787

merged 2 commits into from
Nov 13, 2021

Conversation

gonuke
Copy link
Member

@gonuke gonuke commented Nov 12, 2021

Description

Use system method to find correct bash

Motivation and Context

The bash shell executable exists in different places on different systems. Rather than hard coding the path, use an accepted approach to resolve its location (albeit with a different hard coded path). Should resolve #783

Changes

This fixes a bug first identified in #783

Behavior

On some Linux distributions, the current behavior is that the PyNE amalgamation script does not run under CMake because bash is not found.

@pshriwise pshriwise merged commit 0d07a74 into develop Nov 13, 2021
@gonuke gonuke deleted the system_find_bash branch August 16, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find source file: .../src/pyne/pyne.cpp
2 participants