aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/doc
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-02-07 11:57:54 +0100
committerSiri Hansen <[email protected]>2017-02-07 11:57:54 +0100
commita5f1ca30f9dcd1f763a4ef6a39f72c89e56fc4de (patch)
tree67734b65913c0a7609441408bced1eb03049e330 /lib/sasl/doc
parent181d1c60def42e938dc3642cf798a73fa73d1425 (diff)
downloadotp-a5f1ca30f9dcd1f763a4ef6a39f72c89e56fc4de.tar.gz
otp-a5f1ca30f9dcd1f763a4ef6a39f72c89e56fc4de.tar.bz2
otp-a5f1ca30f9dcd1f763a4ef6a39f72c89e56fc4de.zip
[systools] Fix return value for warnings_as_errors + silent
When both options 'warnings_as_errors' and 'silent' were given to systools:make_script or systools:make_relup, no error reason would be returned if warnings occured. Instead only the atom 'error' was returned. This is now corrected. Options 'warnings_as_errors' and 'no_warn_sasl' are now also allowed for systools:make_tar.
Diffstat (limited to 'lib/sasl/doc')
-rw-r--r--lib/sasl/doc/src/systools.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sasl/doc/src/systools.xml b/lib/sasl/doc/src/systools.xml
index fa503fa573..4ca4a08329 100644
--- a/lib/sasl/doc/src/systools.xml
+++ b/lib/sasl/doc/src/systools.xml
@@ -268,7 +268,7 @@
<fsummary>Creates a release package.</fsummary>
<type>
<v>Name = string()</v>
- <v>Opt = {dirs,[IncDir]} | {path,[Dir]} | {variables,[Var]} | {var_tar,VarTar} | {erts,Dir} | src_tests | exref | {exref,[App]} | silent | {outdir,Dir}</v>
+ <v>Opt = {dirs,[IncDir]} | {path,[Dir]} | {variables,[Var]} | {var_tar,VarTar} | {erts,Dir} | src_tests | exref | {exref,[App]} | silent | {outdir,Dir} | | no_warn_sasl | warnings_as_errors</v>
<v>&nbsp;Dir = string()</v>
<v>&nbsp;IncDir = src | include | atom()</v>
<v>&nbsp;Var = {VarName,PreFix}</v>
@@ -297,6 +297,10 @@
directory unless <c>Name</c> contains a path. If option
<c>{outdir,Dir}</c> is specified, it is located in <c>Dir</c>
instead.</p>
+ <p>If SASL is not included as an application in
+ the <c>.rel</c> file, a warning is issued because such a
+ release cannot be used in an upgrade. To turn off this
+ warning, add option <c>no_warn_sasl</c>.</p>
<p>By default, the release package contains the directories
<c>lib/App-Vsn/ebin</c> and <c>lib/App-Vsn/priv</c> for each
included application. If more directories are to be included,