From da80eece6a6627ec33a466370cb9fea2bc98143f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Nov 2023 08:13:16 -0800 Subject: [PATCH] envsetup: Use traditional grep command If user has aliases grep to something else e.g. ripgrep or ugrep etc. this test will fail. Therefore do not use alias for grep if one exists Signed-off-by: Khem Raj --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index 82cdfdbbf..00a3eff92 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -104,7 +104,7 @@ fi projects="`yoe_get_projects | tr '\n' ' '`" -echo "$projects" | grep -q "\<$PROJECT\>" >&2 +echo "$projects" | \grep -q "\<$PROJECT\>" >&2 if [ $? != 0 ]; then echo