From: batt Date: Wed, 2 Sep 2009 16:52:44 +0000 (+0000) Subject: Use perl regexp. X-Git-Tag: 2.2.0~101 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ff2b391abe299bae7536134c8f4837f20bf5c969;p=bertos.git Use perl regexp. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2867 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/test/get_source_list.sh b/test/get_source_list.sh index 5c57ee24..62ac458c 100755 --- a/test/get_source_list.sh +++ b/test/get_source_list.sh @@ -70,7 +70,7 @@ SRC_ALL=${GEN_SRC}" "${TRG_SRC} NOTEST="notest:" for src in $SRC_ALL ; do - grep "$NOTEST\s*$CPU_TARGET" $src 2>&1 > /dev/null + grep -P "$NOTEST\s*$CPU_TARGET" $src 2>&1 > /dev/null if [ $? -eq 0 ] ; then EXCLUDE_LIST="$EXCLUDE_LIST $src" fi