CircleCI Ideas

Avoid -o pipefail when using /bin/sh

As set -o pipefail is not POSIX, a system's sh may not support the option. In particular FreeBSD, OpenBSD, and Void Linux have an sh that does not support pipefail. If /bin/bash is not present, the default shell option should be /bin/sh -e.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 3 2019
  • New
  • Attach files