Created
August 7, 2019 15:59
-
-
Save ghukill/09ba86a6655155c4b8bfc4233949a778 to your computer and use it in GitHub Desktop.
Load envars from a key=value file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "loading env vars from: $1" | |
export $(grep -v '^#' $1 | xargs) | |
echo "all done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment