From d40b0cdda0135140ae179b43ecac106d7d16b328 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 22 Dec 2016 04:49:24 -0500 Subject: [PATCH] Fix 'grep: repetition-operator operand invalid' --- setenv-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setenv-android.sh b/setenv-android.sh index 141859a8..c12442d5 100755 --- a/setenv-android.sh +++ b/setenv-android.sh @@ -361,7 +361,7 @@ fi ##################################################################### -COUNT=$(echo -n "$AOSP_STL_LIB" | grep -i -c 'libstdc++') +COUNT=$(echo -n "$AOSP_STL_LIB" | egrep -i -c 'libstdc\+\+') if [[ ("$COUNT" -ne "0") ]]; then echo echo "*******************************************************************************"