diff options
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r-- | bfd/.Sanitize | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index bf59e2c..4707a0a 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -219,4 +219,27 @@ else fi +mpwfiles="coffswap.h" +if ( echo $* | grep keep\-mpw > /dev/null ) ; then + if [ -n "${verbose}" ] ; then + echo Keeping mpw stuff in $mpwfiles. + fi +else + if [ -n "${verbose}" ]; then + echo -n Cleaning mpw in `pwd`: + fi + for f in $mpwfiles ; do + if [ -n "${verbose}" ] ; then + echo -n " " $f + fi + sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new + if [ -n "${safe}" ] ; then + mv $f .Recover + fi + mv new $f + done + chmod a+x config.bfd +fi + + # End of file. |