Skip to content

Instantly share code, notes, and snippets.

@bbl
Created October 12, 2019 15:56
Show Gist options
  • Save bbl/6ac57b75d53b49a35c2d1ada10b76cbc to your computer and use it in GitHub Desktop.
Save bbl/6ac57b75d53b49a35c2d1ada10b76cbc to your computer and use it in GitHub Desktop.
Check environment variable in bash
: ${SUB_ZERO:?"Need to set SUB_ZERO non-empty"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment