From 4e5757d2ccacd5e013f1d992500d7daabe8156b7 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Sat, 15 Jul 2017 18:13:36 +0200 Subject: [PATCH] env: Remove usage of -P in grep Since -P is not supported in non-GNU versions of grep, avoid using it now that it is no longer required (no "|" operator anymore inside the regex). Signed-off-by: Carles Cufi --- zephyr-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr-env.sh b/zephyr-env.sh index d6bac0f4864..566146289fe 100644 --- a/zephyr-env.sh +++ b/zephyr-env.sh @@ -35,7 +35,7 @@ fi # .zephyrrc in your home directory. It will be automatically # run (if it exists) by this script. -if uname | grep -q -P "MINGW"; then +if uname | grep -q "MINGW"; then win_build=1 PWD_OPT="-W" else