mirror of
https://github.com/correl/rebar.git
synced 2024-12-25 11:11:19 +00:00
e211afdce6
If I pass an expression like: "$PWD/deps/local/lib" in the port env string, it expands to "/deps/local/lib", (variable is expanded to the empty string) but if I pass "${PWD}/deps/local/lib" it expands properly. I found that confusing. This was because we require environment vars to end with whitespace, while I think requiring a non-word character would be sufficient, since the variables can only contain word characters. This changes the expansion system to recognize variables that are terminated by non word characters. This includes some fixes as per some comments by tuncer. Fixes rebar/rebar#457 |
||
---|---|---|
.. | ||
upgrade_project | ||
rebar_eunit_tests.erl | ||
rebar_file_utils_tests.erl | ||
rebar_otp_release_tests.erl | ||
rebar_require_vsn_tests.erl | ||
rebar_utils_tests.erl | ||
rebar_xref_eunit.erl |