From c80fb0d3cd0c7f7578c95eb7ee0fae63458f4189 Mon Sep 17 00:00:00 2001 From: Felix Lee Date: Fri, 18 Dec 1998 16:49:08 +0000 Subject: [PATCH] sanitization fix. --- opcodes/.Sanitize | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 71cd19a510f..b16723190af 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -133,6 +133,23 @@ z8kgen.c Things-to-lose: Do-last: +never_files="Makefile.am Makefile.in" +for i in $never_files ; do + if test ! -d $i && (grep sanitize-cygnus-never $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"cygnus-never\" from $i... + fi + cp $i new + sed '/start\-sanitize\-cygnus-never/,/end\-sanitize\-cygnus-never/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi +done cygnus_files="ChangeLog Makefile.am Makefile.in configure.in configure" if ( echo $* | grep keep\-cygnus > /dev/null ) ; then -- 2.30.2