From b864c03c2fcb41bc61dd2353025b10ce4db50309 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 30 Jun 1993 02:54:35 +0000 Subject: [PATCH] list new files, new stuff to sanitize --- bfd/.Sanitize | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index cbbd7282934..8acde571126 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -82,6 +82,9 @@ elf32-mips.c elf32-sparc.c elf32-target.h elf32.c +elf64-generic.c +elf64-sparc.c +elf64-target.h elf64.c elfcode.h filemode.c @@ -149,15 +152,38 @@ Things-to-lose: Do-last: +v9files="configure.in elfcode.h" +if [ -n "${verbose}" ] ; then + say=echo +else + say=true +fi if ( echo $* | grep keep\-v9 > /dev/null ) ; then - echo Keeping v9 stuff in configure.in. + if [ -n "${verbose}" ] ; then + echo Keeping v9 stuff in $v9files. + fi else - echo Cleaning configure.in ... - grep -v v9 < configure.in > new + if [ -n "${verbose}" ]; then + echo -n Cleaning v9 from + fi + for f in $v9files ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + grep -v v9 < $f > new + if [ -n "${safe}" ] ; then + cp $f .Recover + fi + mv new $f + done if [ -n "${safe}" ] ; then - cp configure.in .Recover + mv elf64-sparc.c .Recover + else + rm elf64-sparc.c + fi + if [ -n "${verbose}" ] ; then + echo " ..." deleting elf64-sparc.c. fi - mv new configure.in fi # End of file. -- 2.30.2