aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-07-29 18:26:26 +0000
committerJeff Law <law@redhat.com>1998-07-29 18:26:26 +0000
commitb5f864ee0954dc13a9b2d0db616bf2490a300334 (patch)
treed23f5e1f0c6cc4242c29bcc1324c3dadebea0afb /include
parentfb23007f357ab45fe60aebc88edc80a19f6727ca (diff)
downloadgdb-b5f864ee0954dc13a9b2d0db616bf2490a300334.zip
gdb-b5f864ee0954dc13a9b2d0db616bf2490a300334.tar.gz
gdb-b5f864ee0954dc13a9b2d0db616bf2490a300334.tar.bz2
Sanitize away beos references.
Diffstat (limited to 'include')
-rw-r--r--include/coff/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/coff/.Sanitize b/include/coff/.Sanitize
index b806ae0..1181937 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.