Module: kamailio
Branch: master
Commit: 8d3d53f5f698da1357c3475ae136677099b2f702
URL:
https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677…
Author: Sean Bright <sean(a)seanbright.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-12-12T10:38:06+01:00
utils: Prefer `printf` over `echo -e`.
On Ubuntu, `/bin/sh` defaults to `dash` whose built-in `echo` command
does not support the `-e` flag. `printf`, on the other hand, supports
backslash escapes by default so we use that instead.
In passing, also clean up some messy ANSI escape codes.
---
Modified: pkg/kamailio/obs/kamailio.init
Modified: utils/kamctl/kamctl
Modified: utils/kamctl/kamctl.base
Modified: utils/kamctl/kamdbctl
Modified: utils/kamctl/kamdbctl.base
---
Diff:
https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677…
Patch:
https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677…