diff options
author | Doug Evans <dje@google.com> | 1998-11-06 00:10:54 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-11-06 00:10:54 +0000 |
commit | 71e6edeab4a6da312ba584946e2d66e2477fa49c (patch) | |
tree | dcbe5f9d9ef8b9e9561c64e7052bff5459955e9b /gas | |
parent | 04ad3a5905d70a683b7f2c1a9635b3a7fd96927a (diff) | |
download | gdb-71e6edeab4a6da312ba584946e2d66e2477fa49c.zip gdb-71e6edeab4a6da312ba584946e2d66e2477fa49c.tar.gz gdb-71e6edeab4a6da312ba584946e2d66e2477fa49c.tar.bz2 |
redo fr30 sanitization
Diffstat (limited to 'gas')
-rw-r--r-- | gas/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize index 32e4331..2c0aa94 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -305,6 +305,34 @@ else done fi +fr30_files="ChangeLog configure.in configure" +if ( echo $* | grep keep\-fr30 > /dev/null ) ; then + for i in $fr30_files ; do + if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping fr30 stuff in $i + fi + fi + done +else + for i in $fr30_files ; do + if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"fr30\" from $i... + fi + cp $i new + sed '/start\-sanitize\-fr30/,/end-\sanitize\-fr30/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 + am33_files="ChangeLog" if ( echo $* | grep keep\-am33 > /dev/null ) ; then for i in $am33_files ; do |