diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-01-26 03:50:10 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-02-05 01:12:06 +0100 |
commit | 30d5ba634a5c249697509d7c4f29f4aca0597457 (patch) | |
tree | 64f736c03ae335f9ddeedf3074deaea651031d9e /mcp/scripts/net_public.xml | |
parent | 965310d4c0fee5739b6a6a8ff4a40b2ee6c9c0c5 (diff) |
deploy.sh: Move notify() to globals.sh
Extend `notify` to 4 variants:
- notify_i = inline (no newline) colored output;
- notify = `notify_i` + trailing '\n';
- notify_n = `notify` + extra '\n' before and after;
- notify_e = `notify` + stderr output + exit;
This allows us to remove '\n' and cleanup the code a bit.
While at it, fix some 'NOTE' messages going to stderr instead of
stdout.
Change-Id: I682e3344ae9e307c4a68ab31c7766bc91b12ee58
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts/net_public.xml')
0 files changed, 0 insertions, 0 deletions