From f17042dba676c02046971c4684c852750b4c39a9 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 30 May 2008 16:19:38 +0000 Subject: [PATCH] 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 --- test/gen_mk_src.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.25.1