aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/coff/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/coff/.Sanitize b/include/coff/.Sanitize
index b806ae0..1181937 100644
--- a/include/coff/.Sanitize
+++ b/include/coff/.Sanitize
@@ -93,4 +93,32 @@ else
done
fi
+beos_files="ChangeLog internal.h"
+if ( echo $* | grep keep\-beos > /dev/null ) ; then
+ for i in $beos_files ; do
+ if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping beos stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $beos_files ; do
+ if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"beos\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-beos/,/end-\sanitize\-beos/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.