diff options
author | Jan Lehnardt <jan@apache.org> | 2021-03-15 11:21:05 +0100 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2021-03-17 15:32:49 +0100 |
commit | 7e0661bf8af7a37b183aef225d68fce2c50fa815 (patch) | |
tree | 8a553c91117bcfbd52e0f9c64c8ca293cb0a9d2c /src/mango | |
parent | 145597568c901f52c1d06f71ff6fbb0a56498fb8 (diff) | |
download | couchdb-7e0661bf8af7a37b183aef225d68fce2c50fa815.tar.gz |
chore: simplify version detection h/t @vatamane
Diffstat (limited to 'src/mango')
-rw-r--r-- | src/mango/rebar.config.script | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mango/rebar.config.script b/src/mango/rebar.config.script index a9da9b18b..be92bf114 100644 --- a/src/mango/rebar.config.script +++ b/src/mango/rebar.config.script @@ -19,8 +19,7 @@ if not HaveDreyfus -> CONFIG; true -> false -> [] end, NewOpts = [ - {d, 'HAVE_DREYFUS'}, - {d, 'OTP_MAJOR_VSN_20', os:getenv("COUCHDB_OTP_MAJOR_VERSION_20")} + {d, 'HAVE_DREYFUS'} ] ++ CurrOpts, lists:keystore(erl_opts, 1, CONFIG, {erl_opts, NewOpts}) end. |