From 54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7 Mon Sep 17 00:00:00 2001 From: Angela Marie Thomas Date: Thu, 27 Feb 1997 18:59:07 +0000 Subject: fix random missing Sanitize bits --- gas/config/.Sanitize | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gas/config') diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 650a82e..8ecf818 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -225,5 +225,34 @@ else done fi +tic80_files="obj-coff.h" + +if ( echo $* | grep keep\-tic80 > /dev/null ) ; then + for i in $tic80_files ; do + if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tic80 stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tic80\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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 +fi + # End of file. -- cgit v1.1