diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-10-24 16:39:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-10-24 16:39:38 +0000 |
commit | 6b29430fa376337c735b440ae2c86d09c943b651 (patch) | |
tree | 55e3d41c5413f32b30a6526f7ae42eb6395d7cee /.Sanitize | |
parent | ae295afea4270e87238da97782b6485a008f231e (diff) | |
download | gdb-6b29430fa376337c735b440ae2c86d09c943b651.zip gdb-6b29430fa376337c735b440ae2c86d09c943b651.tar.gz gdb-6b29430fa376337c735b440ae2c86d09c943b651.tar.bz2 |
sanitize for vr5400
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -410,6 +410,35 @@ if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then mv new Makefile.in fi +vr5400_files="ChangeLog config.sub" + +if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then + for i in $vr5400_files ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr5400 stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr5400\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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 + # Do this check LAST! for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then |