diff options
author | Gavin Romig-Koch <gavin@redhat.com> | 1997-11-03 19:44:49 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@redhat.com> | 1997-11-03 19:44:49 +0000 |
commit | d66e8c4bef506d6fed78d267916dd69b968e4f8b (patch) | |
tree | 20288f427a06e4de167e87a9e1f40e99923c3654 /gas/testsuite | |
parent | 1724c79e75c3cf801e0e8451ade5baf2a5ddb3cc (diff) | |
download | gdb-d66e8c4bef506d6fed78d267916dd69b968e4f8b.zip gdb-d66e8c4bef506d6fed78d267916dd69b968e4f8b.tar.gz gdb-d66e8c4bef506d6fed78d267916dd69b968e4f8b.tar.bz2 |
Correct sanitation for tx49.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize index 5b66057..9fe9209 100644 --- a/gas/testsuite/.Sanitize +++ b/gas/testsuite/.Sanitize @@ -128,4 +128,32 @@ else done fi +tx49_files="ChangeLog" +if ( echo $* | grep keep\-tx49 > /dev/null ) ; then + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tx49 stuff in $i + fi + fi + done +else + for i in $tx49_files ; do + if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tx49\" from $i... + fi + cp $i new + sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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 + # End of file. |