summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-27 16:56:19 +0100
committerLinus Nordberg <linus@nordberg.se>2015-03-27 16:56:56 +0100
commite436e8ee9fb3239baa6bd926bf5ef1bc501734b6 (patch)
treec35c0905d83798a903a075fc1d7c6525957f0b5d
parent6cd3c80c61711cabf9e308da1963b56f6dd49cfd (diff)
Fix typo in makerelease.erl.
Conflicts: makerelease.erl
-rwxr-xr-xmakerelease.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/makerelease.erl b/makerelease.erl
index f72fdb6..16e5f7f 100755
--- a/makerelease.erl
+++ b/makerelease.erl
@@ -1,7 +1,7 @@
#!/usr/bin/env escript
%% -*- erlang -*-
-main(_) ->
+main([DestDir]) ->
{ok, Conf} = file:consult("reltool.config"),
{ok, Spec} = reltool:get_target_spec(Conf),
- ok = reltool:eval_target_spec(Spec, code:root_dir(), "rel").
+ ok = reltool:eval_target_spec(Spec, code:root_dir(), DestDir).