Skip to content

More robust invocation of bash#787

Merged
pshriwise merged 2 commits into
developfrom
system_find_bash
Nov 13, 2021
Merged

More robust invocation of bash#787
pshriwise merged 2 commits into
developfrom
system_find_bash

Conversation

@gonuke

@gonuke gonuke commented Nov 12, 2021

Copy link
Copy Markdown
Member

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