From 0df2ae3c95db40f9f0aab425391d52f03ebc6d68 Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Wed, 23 Jun 2021 07:21:52 +0000 Subject: [PATCH] always use busybox grep in scripts This fixes a bug where I was getting "binary file ~/.local/modem/modemlog.tsv matches" instead of getting a list of recent contacts in sxmo_modemtext.sh. Turns out, having gnu grep breaks the behaviour of showing a list of contacts. This patch ensures we are always using busybox grep. Signed-off-by: Maarten van Gompel --- scripts/core/sxmo_common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/core/sxmo_common.sh b/scripts/core/sxmo_common.sh index 8118c39..c02cf91 100644 --- a/scripts/core/sxmo_common.sh +++ b/scripts/core/sxmo_common.sh @@ -46,6 +46,7 @@ fi alias xargs="busybox xargs" alias less="busybox less" alias tail="busybox tail" +alias grep="busybox grep" SXMO_COMMON_INCLUDED=1