From: asterix Date: Fri, 30 May 2008 16:19:38 +0000 (+0000) Subject: Fix sed regex and use for to esclude *_arm.c source from test. X-Git-Tag: 2.0.0~523 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f17042dba676c02046971c4684c852750b4c39a9;p=bertos.git Fix sed regex and use for to esclude *_arm.c source from test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1411 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/test/gen_mk_src.sh b/test/gen_mk_src.sh index 2e0af804..37a5f2bc 100755 --- a/test/gen_mk_src.sh +++ b/test/gen_mk_src.sh @@ -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