From b5f864ee0954dc13a9b2d0db616bf2490a300334 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 29 Jul 1998 18:26:26 +0000 Subject: [PATCH] Sanitize away beos references. --- include/coff/.Sanitize | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/include/coff/.Sanitize b/include/coff/.Sanitize index b806ae023c4..11819375996 100644 --- a/include/coff/.Sanitize +++ b/include/coff/.Sanitize @@ -93,4 +93,32 @@ else done fi +beos_files="ChangeLog internal.h" +if ( echo $* | grep keep\-beos > /dev/null ) ; then + for i in $beos_files ; do + if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping beos stuff in $i + fi + fi + done +else + for i in $beos_files ; do + if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"beos\" from $i... + fi + cp $i new + sed '/start\-sanitize\-beos/,/end-\sanitize\-beos/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. -- 2.30.2