summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Luna <daniel@lunas.se>2012-07-17 13:20:45 -0400
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-07-24 20:34:02 +0200
commitd496be287131fb3d31fcab0855e2f1f4769dd3ae (patch)
treee688d51f4bd8aad3f8cf8286243ca491d1dad6e9 /src
parent70d27c5720331076f52e4fd7bcd1dc8045c8c86a (diff)
rebar_rel_utils: remove two lines of noop
Diffstat (limited to 'src')
-rw-r--r--src/rebar_rel_utils.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_rel_utils.erl b/src/rebar_rel_utils.erl
index e749c55..085dbd9 100644
--- a/src/rebar_rel_utils.erl
+++ b/src/rebar_rel_utils.erl
@@ -107,8 +107,7 @@ get_rel_apps(Name, Path) ->
get_rel_file_path(Name, Path) ->
[RelFile] = filelib:wildcard(filename:join([Path, "releases", "*",
Name ++ ".rel"])),
- [BinDir|_] = re:replace(RelFile, Name ++ "\\.rel", ""),
- filename:join([binary_to_list(BinDir), Name ++ ".rel"]).
+ RelFile.
%% Get the previous release path from a global variable
get_previous_release_path(Config) ->