diff options
author | Angela Marie Thomas <angela@cygnus> | 1997-02-27 18:59:07 +0000 |
---|---|---|
committer | Angela Marie Thomas <angela@cygnus> | 1997-02-27 18:59:07 +0000 |
commit | 54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7 (patch) | |
tree | 21751538317fe0baa6f5cc5f048aa8f20078260b /config | |
parent | b185d567f5725b40c42f2102c8932c1afbb1389d (diff) | |
download | binutils-54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7.zip binutils-54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7.tar.gz binutils-54d5e0fb229ef2d0e7bc3f15fe1e078a9d6190b7.tar.bz2 |
fix random missing Sanitize bits
Diffstat (limited to 'config')
-rw-r--r-- | config/.Sanitize | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config/.Sanitize b/config/.Sanitize index 97e80b5..f50d956 100644 --- a/config/.Sanitize +++ b/config/.Sanitize @@ -76,4 +76,34 @@ Things-to-lose: Do-last: +r5900_files="ChangeLog" + +if ( echo $* | grep keep\-r5900 > /dev/null ) ; then + for i in $r5900_files ; do + if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping r5900 stuff in $i + fi + fi + done +else + for i in $r5900_files ; do + if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"r5900\" from $i... + fi + cp $i new + sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/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. |