port: BSD cut doesn't support '\0' as a delimiter
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 20 Oct 2020 21:08:31 +0000 (17:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 31 Oct 2022 18:00:56 +0000 (14:00 -0400)
commitc29d17cd2d85f6ee89037377cc33821829529867
treefb0b0ef643e02049b79d5a70e6a504ae73552669
parent1524f98c04431d04e50796f83a9dd29184b3a8a4
port: BSD cut doesn't support '\0' as a delimiter

Use a combination of 'tr' and 'head' instead which works with both the
GNU and BSD version of coreutils.

Change-Id: I5628863ed41030864ec08f45a3d4153c32fc5496
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/utils/utils.sh
This page took 0.02441 seconds and 4 git commands to generate.