diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-08-10 20:30:33 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-08-10 20:30:33 +0000 |
commit | d21e784e8dc317c6686ab3458a549d55ebab644a (patch) | |
tree | 689261854486427e6a0e782a83d3b739e3566fa2 | |
parent | 420cfe32ad6483868c000ef138beaee4cac39807 (diff) | |
download | fsf-binutils-gdb-d21e784e8dc317c6686ab3458a549d55ebab644a.zip fsf-binutils-gdb-d21e784e8dc317c6686ab3458a549d55ebab644a.tar.gz fsf-binutils-gdb-d21e784e8dc317c6686ab3458a549d55ebab644a.tar.bz2 |
add armelf sanitization
-rw-r--r-- | .Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -631,6 +631,34 @@ else done fi +armelf_files="ChangeLog configure.in" +if ( echo $* | grep keep\-armelf > /dev/null ) ; then + for i in $armelf_files ; do + if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping armelf stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"armelf\" from $i... + fi + cp $i new + sed '/start\-sanitize\-armelf/,/end-\sanitize\-armelf/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 + java_files="ChangeLog Makefile.in configure.in" if ( echo $* | grep keep\-java > /dev/null ) ; then for i in $java_files ; do |