From: batt Date: Wed, 27 Aug 2008 17:15:13 +0000 (+0000) Subject: Add item to list correctly. X-Git-Tag: 2.0.0~197 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=019f349b2d3ae26aa760912498c8b6edb7e2c7ae;p=bertos.git Add item to list correctly. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1737 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/test/get_source_list.sh b/test/get_source_list.sh index ef6bd50a..4365e2b3 100755 --- a/test/get_source_list.sh +++ b/test/get_source_list.sh @@ -62,8 +62,8 @@ NOTEST="notest:" for src in $SRC_ALL ; do grep "$NOTEST\s*$CPU_TARGET" $src 2>&1 > /dev/null - if [ $? = 0 ] ; then - EXCLUDE_LIST+=$src + if [ $? -eq 0 ] ; then + EXCLUDE_LIST="$EXCLUDE_LIST $src" fi done