mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
rebar_rel_utils: remove two lines of noop
This commit is contained in:
parent
70d27c5720
commit
d496be2871
1 changed files with 1 additions and 2 deletions
|
@ -107,8 +107,7 @@ get_rel_apps(Name, Path) ->
|
||||||
get_rel_file_path(Name, Path) ->
|
get_rel_file_path(Name, Path) ->
|
||||||
[RelFile] = filelib:wildcard(filename:join([Path, "releases", "*",
|
[RelFile] = filelib:wildcard(filename:join([Path, "releases", "*",
|
||||||
Name ++ ".rel"])),
|
Name ++ ".rel"])),
|
||||||
[BinDir|_] = re:replace(RelFile, Name ++ "\\.rel", ""),
|
RelFile.
|
||||||
filename:join([binary_to_list(BinDir), Name ++ ".rel"]).
|
|
||||||
|
|
||||||
%% Get the previous release path from a global variable
|
%% Get the previous release path from a global variable
|
||||||
get_previous_release_path(Config) ->
|
get_previous_release_path(Config) ->
|
||||||
|
|
Loading…
Reference in a new issue