From 019f349b2d3ae26aa760912498c8b6edb7e2c7ae Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 27 Aug 2008 17:15:13 +0000 Subject: [PATCH] Add item to list correctly. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1737 38d2e660-2303-0410-9eaa-f027e97ec537 --- test/get_source_list.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1