diff options
-rw-r--r-- | include/coff/.Sanitize | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/coff/.Sanitize b/include/coff/.Sanitize index 1b399c9..80f1131 100644 --- a/include/coff/.Sanitize +++ b/include/coff/.Sanitize @@ -50,4 +50,25 @@ Things-to-lose: Do-last: +i960xl_files="ChangeLog i960.h" +if ( echo $* | grep keep\-i960xl > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping i960xl stuff in $i960xl_files. + fi +else + if [ -n "${verbose}" ]; then + echo -n Cleaning i960xl in `pwd`: + fi + for f in $i960xl_files ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new + if [ -n "${safe}" ] ; then + mv $f .Recover + fi + mv new $f + done +fi + # End of file. |