fix rebar.config.script for < otp 17.0

This commit is contained in:
alisdair sullivan 2014-04-19 00:00:54 +00:00
parent a46118ecb3
commit 6d589f6766

View file

@ -1,7 +1,8 @@
case os:getenv("JSX_NOMAPS") of case os:getenv("JSX_NOMAPS") of
false -> false ->
try file:script("config/maps") of {ok, true} -> try file:script("config/maps") of
[{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG {ok, true} -> [{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG;
_ -> CONFIG
catch _:_ -> CONFIG catch _:_ -> CONFIG
end; end;
_ -> CONFIG _ -> CONFIG