chef / concrete

Concrete enhances your rebar based Erlang project by providing a common Makefile wrapper, a dialyzer make target that caches PLT analysis of your project's dependencies, and a mechanism to specify development only dependencies.
Apache License 2.0
56 stars 15 forks source link

Clear environment variable ERL_FLAGS before obtaining the erlang version #29

Closed drobakowski closed 9 years ago

drobakowski commented 9 years ago

In cases where the name of a running node is set through the environment variable ERL_FLAGS (e.q. ERL_FLAGS="-sname test"), the command to fetch the erlang version will try to start a node with the same configs and fail. A local clear of ERL_FLAGS for that command will prevent this behavior.

seth commented 9 years ago

Thanks for the PR. Makes sense to me to keep the env clean since we are just fetching the version. I'll merge it!