Skip to content

Commit

Permalink
rebar_rel_utils: remove two lines of noop
Browse files Browse the repository at this point in the history
  • Loading branch information
dLuna authored and Tuncer Ayaz committed Jul 24, 2012
1 parent 70d27c5 commit d496be2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rebar_rel_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down

0 comments on commit d496be2

Please sign in to comment.