aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool_server.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-08-17 15:38:35 +0200
committerSiri Hansen <[email protected]>2012-08-20 15:56:06 +0200
commitee8e60f1c160e576a040a92d28f3a3eed1cb572a (patch)
tree05bec74fe6a408b433a041ac10cddbdf5a01ae2b /lib/reltool/src/reltool_server.erl
parent2a017b471cb2096eccf2f908f38a7a5305901788 (diff)
downloadotp-ee8e60f1c160e576a040a92d28f3a3eed1cb572a.tar.gz
otp-ee8e60f1c160e576a040a92d28f3a3eed1cb572a.tar.bz2
otp-ee8e60f1c160e576a040a92d28f3a3eed1cb572a.zip
[reltool] Add option {excl_lib,otp_root}
With this option reltool will create a target structure with only the applications found in specified 'lib_dirs' (on system level) or 'lib_dir' (on app level). Erts will not be included, and no applications found under $OTP_ROOT/lib.
Diffstat (limited to 'lib/reltool/src/reltool_server.erl')
-rw-r--r--lib/reltool/src/reltool_server.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reltool/src/reltool_server.erl b/lib/reltool/src/reltool_server.erl
index 034a42e1e2..3d1d7e54bf 100644
--- a/lib/reltool/src/reltool_server.erl
+++ b/lib/reltool/src/reltool_server.erl
@@ -1408,6 +1408,8 @@ decode(#sys{} = Sys, [{Key, Val} | KeyVals]) ->
ExclApp,
Sys#sys.excl_app_filters),
embedded_app_type = AppType};
+ excl_lib when Val =:= otp_root ->
+ Sys#sys{excl_lib=Val};
incl_sys_filters ->
Sys#sys{incl_sys_filters =
dec_re(Key, Val, Sys#sys.incl_sys_filters)};