Skip to content

Use command -v instead of which in nrnpyenv.sh#3516

Merged
JCGoran merged 1 commit into
masterfrom
jelic/posix
Oct 23, 2025
Merged

Use command -v instead of which in nrnpyenv.sh#3516
JCGoran merged 1 commit into
masterfrom
jelic/posix

Conversation

@JCGoran

@JCGoran JCGoran commented Jul 9, 2025

Copy link
Copy Markdown
Collaborator

which is not POSIX (see for instance the wiki entry), while command -v is.

Also fix a possible syntax error that shellcheck was complaining about.

`which` is not POSIX, while `command -v` is.
@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2025

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

✔️ 934c474 -> artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ 934c474 -> Azure artifacts URL

@JCGoran JCGoran marked this pull request as ready for review July 9, 2025 10:49
@JCGoran JCGoran requested a review from nrnhines July 9, 2025 10:49
@codecov

codecov Bot commented Jul 9, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.42%. Comparing base (ac628ce) to head (934c474).
⚠️ Report is 113 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3516   +/-   ##
=======================================
  Coverage   68.42%   68.42%           
=======================================
  Files         683      683           
  Lines      116608   116608           
=======================================
  Hits        79784    79784           
  Misses      36824    36824           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JCGoran JCGoran requested review from nrnhines and removed request for nrnhines August 5, 2025 10:00
Comment thread bin/nrnpyenv.sh.in
@JCGoran JCGoran merged commit 69173b9 into master Oct 23, 2025
43 checks passed
@JCGoran JCGoran deleted the jelic/posix branch October 23, 2025 10:37
JCGoran added a commit that referenced this pull request Nov 10, 2025
`which` is not POSIX, while `command -v` is.
Fedora for instance does not ship with `which` by default,
so NEURON does not work OOTB on that platform.
@JCGoran JCGoran mentioned this pull request Nov 13, 2025
20 tasks
JCGoran added a commit that referenced this pull request Nov 13, 2025
`which` is not POSIX, while `command -v` is.
Fedora for instance does not ship with `which` by default,
so NEURON does not work OOTB on that platform.
JCGoran added a commit that referenced this pull request Nov 14, 2025
`which` is not POSIX, while `command -v` is.
Fedora for instance does not ship with `which` by default,
so NEURON does not work OOTB on that platform.
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.

2 participants