diff options
author | Gavin Romig-Koch <gavin@redhat.com> | 1998-01-15 18:46:32 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@redhat.com> | 1998-01-15 18:46:32 +0000 |
commit | ed70a3354d020dce5afb8fa3a87c186d261d3335 (patch) | |
tree | c0d8cf4129f6ffdcc87ac8245e5dbe05330bdf43 /.Sanitize | |
parent | 0d0bb9140bcea4e717366c9f2a3235ed5566d1b8 (diff) | |
download | gdb-ed70a3354d020dce5afb8fa3a87c186d261d3335.zip gdb-ed70a3354d020dce5afb8fa3a87c186d261d3335.tar.gz gdb-ed70a3354d020dce5afb8fa3a87c186d261d3335.tar.bz2 |
Initial vr4111 Sanitization marks.
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -430,6 +430,35 @@ else done fi +vr4111_files="ChangeLog config.sub" + +if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then + for i in $vr4111_files ; do + if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr4111 stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr4111\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/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 + if ( echo $* | grep keep\-ide > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then |