Skip to content

Commit

Permalink
env: Remove usage of -P in grep
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
carlescufi authored and andrewboie committed Jul 15, 2017
1 parent a8d7659 commit 4e5757d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e5757d

Please sign in to comment.