How to fix "set -e -o pipefail" (CentOS script) for Ubuntu 18.04 LTS?

I'm working with a set of scripts that automate some bioinformatics (mitoVGP; ) and then the install is done as a conda environment.

The problem (sh symlinked to dash, as opposed to bash) has been outlined by @SergiyKolodyazhnyy in the first answer here: "set -e -o pipefail" not working on bash script on Ubuntu 16

So, my question is, how do I fix these scripts, or else make it such that invoking them with makes them such that they work/run in a bash environment on Ubuntu?

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like