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

Stop using which in shell scripts #127

Open
timj opened this issue Apr 6, 2018 · 0 comments
Open

Stop using which in shell scripts #127

timj opened this issue Apr 6, 2018 · 0 comments

Comments

@timj
Copy link
Collaborator

timj commented Apr 6, 2018

@PaulPrice noticed that which is not a command that is guaranteed to exist (especially when using minimalist Docker environments). The bash way is to use command -v instead. There are a couple of places in autoconf scripts in EUPS that should be fixed.

See also DM-14026.

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

No branches or pull requests

1 participant