Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh will not run scripts as /bin/bash even with #!/bin/bash as the first line



On Nov 24,  8:22pm, John wrote:
} Subject: Re: zsh will not run scripts as /bin/bash even with #!/bin/bash a
}
} > Ur main script is indeed run by bash but parallel is trying to execute
} > the v_build command in your default shell.... therefore it has nothing
} > to do with the #! line...
}
} You are right. I have been combing through the man page looking for a
} switch to override the default shell but haven't found one.

Try

    find . -maxdepth 1 -type f | SHELL=/bin/bash parallel v_build




Messages sorted by: Reverse Date, Date, Thread, Author