summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoewilliams <joe@joetify.com>2011-02-17 10:12:32 -0800
committerjoewilliams <joe@joetify.com>2011-02-17 10:12:32 -0800
commit1e9b2b844b844a990269f68535f5bbf02ac522b3 (patch)
tree56b1cd2beec513cb6ade4ef978c59852da89096a
parent4e8dcfbfade08b48fe38bfe041459960b0ff74c3 (diff)
Clean up trailing whitespace
-rw-r--r--src/rebar_appups.erl4
-rw-r--r--src/rebar_rel_utils.erl4
-rw-r--r--src/rebar_upgrade.erl2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/rebar_appups.erl b/src/rebar_appups.erl
index dbc1561..ab5af29 100644
--- a/src/rebar_appups.erl
+++ b/src/rebar_appups.erl
@@ -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(
diff --git a/src/rebar_rel_utils.erl b/src/rebar_rel_utils.erl
index 94a10b0..9729e20 100644
--- a/src/rebar_rel_utils.erl
+++ b/src/rebar_rel_utils.erl
@@ -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
diff --git a/src/rebar_upgrade.erl b/src/rebar_upgrade.erl
index a1b34df..39b2c61 100644
--- a/src/rebar_upgrade.erl
+++ b/src/rebar_upgrade.erl
@@ -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,