Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39465971 authored by Vince Harron's avatar Vince Harron Committed by Automerger Merge Worker
Browse files

Merge "BSD grep doesn't support -P" am: 3ad0c611 am: 6e008cbb

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891500

Change-Id: Ifae93b7302a5b2d743a4c996c91586da6f23e24e
parents 085d433a 6e008cbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
LOCAL_DIR="$( dirname "${BASH_SOURCE}" )"

if git branch -vv | grep -q -P "^\*[^\[]+\[aosp/"; then
if git branch -vv | grep -q -E "^\*[^\[]+\[aosp/"; then
    # Change appears to be in AOSP
    exit 0
elif git log -n 1 --format='%B' $1 | grep -q -E "^Ignore-AOSP-First: .+" ; then