aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-08-10 20:30:33 +0000
committerIan Lance Taylor <ian@airs.com>1998-08-10 20:30:33 +0000
commitd21e784e8dc317c6686ab3458a549d55ebab644a (patch)
tree689261854486427e6a0e782a83d3b739e3566fa2 /.Sanitize
parent420cfe32ad6483868c000ef138beaee4cac39807 (diff)
downloadfsf-binutils-gdb-d21e784e8dc317c6686ab3458a549d55ebab644a.zip
fsf-binutils-gdb-d21e784e8dc317c6686ab3458a549d55ebab644a.tar.gz
fsf-binutils-gdb-d21e784e8dc317c6686ab3458a549d55ebab644a.tar.bz2
add armelf sanitization
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index a41d182..0baba7c 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -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