azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
899 stars 63 forks source link

[system] Fixing load envs from file with `=` in value #684

Closed gullitmiranda closed 8 years ago

gullitmiranda commented 8 years ago

currently the load .env is the problem in the parsing of the content. I decided to replace the parse defined by the lib dotenv.

sample .env with problem:

FROM_DOT_ENV=azk is beautiful
BASE64=base64 hash==

before list loaded value:

azk shell -- env | grep BASE64
BASE64=base64 hash

with solution:

azk shell -- env | grep BASE64
BASE64=base64 hash==
fearenales commented 8 years ago

LGTM :+1: