Fix sed regex and use for to esclude *_arm.c source from test.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 30 May 2008 16:19:38 +0000 (16:19 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 30 May 2008 16:19:38 +0000 (16:19 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1411 38d2e660-2303-0410-9eaa-f027e97ec537

test/gen_mk_src.sh

index 2e0af804511b89ac1f8875a2a4b81c1e4faee6c2..37a5f2bc3927039d50a05e1e1e8307b112417b40 100755 (executable)
@@ -58,14 +58,14 @@ ASRC=
 
 #Source to skip:
 if [ $1 = 'avr' ] ; then
-       CSRC=`echo $CSRC | sed "-e {s/${BERTOS_DIR_RE}\\/drv\\/kdebug\\.c//g}"`
-       CSRC=`echo $CSRC | sed "-e {s/${BERTOS_DIR_RE}\\/mware\\/formatwr\\.c//g}"`
+       CSRC=`echo $CSRC | sed -e "s/${BERTOS_DIR_RE}\\/drv\\/kdebug\\.c//g"`
+       CSRC=`echo $CSRC | sed -e "s/${BERTOS_DIR_RE}\\/mware\\/formatwr\\.c//g"`
 fi
 
 if [ $1 = 'arm' ] ; then
        for i in $ARM_DRV_C_EXCLUDE_LIST ;
                do
-                       CSRC=`echo $CSRC | sed "-e {s/${ARM_DRV}\\/$i\\.c//g}"`
+                       CSRC=`echo $CSRC | sed -e "s/${ARM_DRV}\\/$i\\.c//g"`
                done
 fi