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 /gas/.Sanitize | |
parent | 31dda65afff3731d51fa249f2118e267d561dd70 (diff) | |
download | ppe42-binutils-318b499d8e52bc48db7a61aebee7e70ddc8bfbee.tar.gz ppe42-binutils-318b499d8e52bc48db7a61aebee7e70ddc8bfbee.zip |
Support tx19 sanitation.
Diffstat (limited to 'gas/.Sanitize')
-rw-r--r-- | gas/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize index a74808aad4..1687d4fb6a 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -222,6 +222,34 @@ else done fi +tx19_files="ChangeLog" +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 $tx19_files ; 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 configure.in configure" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then for i in $tic80_files ; do |