diff options
author | Gavin Romig-Koch <gavin@redhat.com> | 1997-09-10 04:53:18 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@redhat.com> | 1997-09-10 04:53:18 +0000 |
commit | 318b499d8e52bc48db7a61aebee7e70ddc8bfbee (patch) | |
tree | 940aa406a8155f2aad86b5b39bd2234cd7f3168d /.Sanitize | |
parent | 31dda65afff3731d51fa249f2118e267d561dd70 (diff) | |
download | gdb-318b499d8e52bc48db7a61aebee7e70ddc8bfbee.zip gdb-318b499d8e52bc48db7a61aebee7e70ddc8bfbee.tar.gz gdb-318b499d8e52bc48db7a61aebee7e70ddc8bfbee.tar.bz2 |
Support tx19 sanitation.
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -361,6 +361,35 @@ else done fi +tx19_files="ChangeLog config.sub" + +if ( echo $* | grep keep\-tx19 > /dev/null ) ; then + for i in $tx19_files ; do + if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tx19 stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tx19\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/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 + tic80_files="ChangeLog config.sub configure.in" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then |