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 <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
a8d7659a63
commit
4e5757d2cc
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fi
|
||||||
# .zephyrrc in your home directory. It will be automatically
|
# .zephyrrc in your home directory. It will be automatically
|
||||||
# run (if it exists) by this script.
|
# run (if it exists) by this script.
|
||||||
|
|
||||||
if uname | grep -q -P "MINGW"; then
|
if uname | grep -q "MINGW"; then
|
||||||
win_build=1
|
win_build=1
|
||||||
PWD_OPT="-W"
|
PWD_OPT="-W"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue