diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2009-12-16 10:26:50 -0500 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2009-12-16 10:26:50 -0500 |
commit | 4d3c7e60d6743eb65b9173f0073d2e33f44e785d (patch) | |
tree | 213aed888248364eabf971f8c18fbcb2b2186865 | |
parent | c3f0f2565b1115aedee19bd8caf233897cb69da7 (diff) |
Make sure to append overlay files to end of spec; otherwise might be overwritten by canonical install
-rw-r--r-- | src/rebar_reltool.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_reltool.erl b/src/rebar_reltool.erl index ee2b1ce..1e5774a 100644 --- a/src/rebar_reltool.erl +++ b/src/rebar_reltool.erl @@ -203,7 +203,7 @@ process_rebar_specs([{overlay, Source} | Rest], Spec) -> case file:list_dir(Source) of {ok, Files} -> OverlaySpec = spec_copy_overlay(Files, Source, []), - process_rebar_specs(Rest, [OverlaySpec | Spec]); + process_rebar_specs(Rest, Spec ++ OverlaySpec); {error, Reason} -> ?ERROR("Failed to list overlay directory ~p: ~p\n", [Source, Reason]), ?FAIL |