aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_archive.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-03-31 17:52:29 -0500
committerTristan Sloughter <[email protected]>2015-03-31 17:52:29 -0500
commit64d99c36e5867469cbfc3940b5264de5a03cc028 (patch)
tree0ad8eb860cd4e28d9af73da9a2902b798223123a /src/rlx_prv_archive.erl
parentedb75261f3ee1ef5f088da869f2bc7a61ef0601d (diff)
parent7ea9ea0ed2f5c56774e678ff9c74b88752584d8f (diff)
downloadrelx-64d99c36e5867469cbfc3940b5264de5a03cc028.tar.gz
relx-64d99c36e5867469cbfc3940b5264de5a03cc028.tar.bz2
relx-64d99c36e5867469cbfc3940b5264de5a03cc028.zip
Merge pull request #320 from davebest/bin_dups
prevent files in the bin directory from being duplicated in the .tar
Diffstat (limited to 'src/rlx_prv_archive.erl')
-rw-r--r--src/rlx_prv_archive.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlx_prv_archive.erl b/src/rlx_prv_archive.erl
index 62cc37c..7ed8f4d 100644
--- a/src/rlx_prv_archive.erl
+++ b/src/rlx_prv_archive.erl
@@ -156,6 +156,8 @@ to({mkdir, To}) ->
to({template, _, To}) ->
To.
+filter({_, _, "bin/"++_}) ->
+ false;
filter({copy, _, _}) ->
true;
filter({mkdir, _}) ->