scripts/mkits.sh: fix portability issue
authorFelix Fietkau <nbd@nbd.name>
Sat, 29 Oct 2022 17:01:48 +0000 (19:01 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 9 Nov 2022 19:43:41 +0000 (20:43 +0100)
commitb8bf27e4cb2d4c6ff4c75274c0e1d1619eef7f10
tree037c243ef703dda3c99efb0f7059c48527b2880c
parent94d0cb9d2ec23fb15acd1fc17a351983f8771d13
scripts/mkits.sh: fix portability issue

BSD wc can output more whitespaces, which breaks the cut usage.
Replace the cut invocation with awk, which is more portable.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/mkits.sh