diff options
Diffstat (limited to 'include/opcode/.Sanitize')
-rw-r--r-- | include/opcode/.Sanitize | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize index 76c1904..4f049d1 100644 --- a/include/opcode/.Sanitize +++ b/include/opcode/.Sanitize @@ -329,6 +329,35 @@ else fi +vr4xxx_files="ChangeLog mips.h" +if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then + for i in $vr4xxx_files ; do + if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr4xxx stuff in $i + fi + fi + done +else + for i in $vr4xxx_files ; do + if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr4xxx\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr4xxx/,/end-\sanitize\-vr4xxx/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 + + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |