From 4d3c7e60d6743eb65b9173f0073d2e33f44e785d Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Wed, 16 Dec 2009 10:26:50 -0500 Subject: Make sure to append overlay files to end of spec; otherwise might be overwritten by canonical install --- src/rebar_reltool.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1