diff options
author | Siri Hansen <[email protected]> | 2018-03-05 14:54:42 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-03-05 14:54:42 +0100 |
commit | f52f9f312d811e0a8b83b8427944f4e9b3ffd6b8 (patch) | |
tree | 695ff2dc9399806d19ed85d0809b78e18407961a /lib/sasl/src | |
parent | 93b037b02e2863c93df6cf70ab96137822904df6 (diff) | |
parent | 1cf7851ccb002c95c0ef19a67807fb33895b723b (diff) | |
download | otp-f52f9f312d811e0a8b83b8427944f4e9b3ffd6b8.tar.gz otp-f52f9f312d811e0a8b83b8427944f4e9b3ffd6b8.tar.bz2 otp-f52f9f312d811e0a8b83b8427944f4e9b3ffd6b8.zip |
Merge pull request #1560 from tsloughter/no_warn_sysconfig
Include sys.config.src in release tar file
OTP-14950
Diffstat (limited to 'lib/sasl/src')
-rw-r--r-- | lib/sasl/src/systools_make.erl | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lib/sasl/src/systools_make.erl b/lib/sasl/src/systools_make.erl index 9d960b7361..fa3182cc08 100644 --- a/lib/sasl/src/systools_make.erl +++ b/lib/sasl/src/systools_make.erl @@ -310,6 +310,7 @@ add_apply_upgrade(Script,Args) -> %% RelVsn/start.boot %% relup %% sys.config +%% sys.config.src %% erts-EVsn[/bin] %%----------------------------------------------------------------- @@ -1552,6 +1553,7 @@ create_kernel_procs(Appls) -> %% RelVsn/start.boot %% relup %% sys.config +%% sys.config.src %% erts-EVsn[/bin] %% %% The VariableN.tar.gz files can also be stored as own files not @@ -1707,14 +1709,18 @@ add_system_files(Tar, RelName, Release, Path1) -> add_to_tar(Tar, Relup, filename:join(RelVsnDir, "relup")) end, - case lookup_file("sys.config", Path) of - false -> - ignore; - Sys -> - check_sys_config(Sys), - add_to_tar(Tar, Sys, filename:join(RelVsnDir, "sys.config")) + case lookup_file("sys.config.src", Path) of + false -> + case lookup_file("sys.config", Path) of + false -> + ignore; + Sys -> + check_sys_config(Sys), + add_to_tar(Tar, Sys, filename:join(RelVsnDir, "sys.config")) + end; + SysSrc -> + add_to_tar(Tar, SysSrc, filename:join(RelVsnDir, "sys.config.src")) end, - ok. lookup_file(Name, [Dir|Path]) -> |