summaryrefslogtreecommitdiff
path: root/makerelease.erl
diff options
context:
space:
mode:
Diffstat (limited to '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).