Skip to content

Instantly share code, notes, and snippets.

@mars
Created March 25, 2016 17:30
Show Gist options
  • Save mars/cf69fce439d74634d584 to your computer and use it in GitHub Desktop.
Save mars/cf69fce439d74634d584 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Fail immediately on non-zero exit code.
set -e
# Fail immediately on non-zero exit code within a pipeline.
set -o pipefail
# Fail on undeclared variables.
set -u
# Debug, echo every command
#set -x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment