Use perl regexp.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 2 Sep 2009 16:52:44 +0000 (16:52 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 2 Sep 2009 16:52:44 +0000 (16:52 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2867 38d2e660-2303-0410-9eaa-f027e97ec537

test/get_source_list.sh

index 5c57ee2450fd4527b467b795c3bb6aabe13aae41..62ac458cf62211b9254ae87dbe0adf373b8900d8 100755 (executable)
@@ -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