Clean up trailing whitespace

This commit is contained in:
joewilliams 2011-02-17 10:12:32 -08:00
parent 4e8dcfbfad
commit 1e9b2b844b
3 changed files with 5 additions and 5 deletions

View file

@ -86,9 +86,9 @@
%% ===================================================================
get_upgraded_apps(OldAppFiles, NewAppFiles) ->
OldAppsVer = [{rebar_app_utils:app_name(AppFile),
OldAppsVer = [{rebar_app_utils:app_name(AppFile),
rebar_app_utils:app_vsn(AppFile)} || AppFile <- OldAppFiles],
NewAppsVer = [{rebar_app_utils:app_name(AppFile),
NewAppsVer = [{rebar_app_utils:app_name(AppFile),
rebar_app_utils:app_vsn(AppFile)} || AppFile <- NewAppFiles],
UpgradedApps = lists:subtract(NewAppsVer, OldAppsVer),
lists:map(

View file

@ -26,7 +26,7 @@
%% -------------------------------------------------------------------
-module(rebar_rel_utils).
-export([is_rel_dir/0,
-export([is_rel_dir/0,
is_rel_dir/1,
get_reltool_release_info/1,
get_rel_release_info/1,
@ -73,7 +73,7 @@ get_rel_release_info(Name, Path) ->
[RelFile] = filelib:wildcard(filename:join([Path, "releases", "*",
Name ++ ".rel"])),
[BinDir|_] = re:replace(RelFile, Name ++ "\\.rel", ""),
get_rel_release_info(filename:join([binary_to_list(BinDir),
get_rel_release_info(filename:join([binary_to_list(BinDir),
Name ++ ".rel"])).
%% Get the previous release path from a global variable

View file

@ -39,7 +39,7 @@
'generate-upgrade'(_Config, ReltoolFile) ->
%% Get the old release path
OldVerPath = rebar_rel_utils:get_previous_release_path(),
%% Run checks to make sure that building a package is possible
{NewName, NewVer} = run_checks(OldVerPath, ReltoolFile),
NameVer = NewName ++ "_" ++ NewVer,