summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoewilliams <joe@joetify.com>2011-02-25 10:16:52 -0500
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-02-25 18:38:50 +0100
commit90d2ce5e0770be25179376af87ce861c33c1ba14 (patch)
treed215d08b55ea5004bade76a377b073e595cd5f72
parent2cff499a342f5bcb978e88fd453764afac6d5817 (diff)
Ignore app files not in ebin
-rw-r--r--src/rebar_appups.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_appups.erl b/src/rebar_appups.erl
index ab5af29..ec1df0a 100644
--- a/src/rebar_appups.erl
+++ b/src/rebar_appups.erl
@@ -56,10 +56,10 @@
"Reltool and .rel release names do not match~n", []),
%% Get lists of the old and new app files
- OldAppFiles = rebar_utils:find_files(
- filename:join([OldVerPath, "lib"]), "^.*.app$"),
- NewAppFiles = rebar_utils:find_files(
- filename:join([NewName, "lib"]), "^.*.app$"),
+ OldAppFiles = filelib:wildcard(
+ filename:join([OldVerPath, "lib", "*", "ebin", "*.app"])),
+ NewAppFiles = filelib:wildcard(
+ filename:join([NewName, "lib", "*", "ebin", "*.app"])),
%% Find all the apps that have been upgraded
UpgradedApps = get_upgraded_apps(OldAppFiles, NewAppFiles),