Created
March 28, 2017 09:02
-
-
Save 7rin0/74555b19270b48caeea994b121b74dde to your computer and use it in GitHub Desktop.
Convert key/value pairs to Shell Variables
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
#!/bin/bash | |
# Converting environment to bash variables | |
export $(cat .env | xargs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment