summaryrefslogtreecommitdiff
path: root/makerelease.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-03-27 13:28:33 +0100
committerLinus Nordberg <linus@nordberg.se>2015-04-01 13:14:07 +0200
commitb280c136a4279d9b3c46936f4737c47d83dae2fd (patch)
tree7c772e377698d1bcb6fca5588e934c0bb04e0d70 /makerelease.erl
parent8c5b1dbba571456e3b68bcf25e4ca9db9b7b669b (diff)
Docker packaging.
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).