aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-10-18 20:23:39 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-10-18 20:23:39 +0000
commitdee64d723f9778fb962e7744b602555c3089860e (patch)
tree8f23d10f998bbf9dbac32ddef120a595831f4641 /.Sanitize
parentde5ebe2eba57a3b0fcdc4dd28b265378b93ddd6a (diff)
downloadgdb-dee64d723f9778fb962e7744b602555c3089860e.zip
gdb-dee64d723f9778fb962e7744b602555c3089860e.tar.gz
gdb-dee64d723f9778fb962e7744b602555c3089860e.tar.bz2
jaguar support.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize33
1 files changed, 33 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 92a5870..01d6eb9 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -231,6 +231,39 @@ else
done
fi
+if [ -n "${verbose}" ] ; then
+ echo Processing \"jaguar\"...
+fi
+
+jaguar_files="config.sub configure.in cfg-ml-com.in"
+
+if ( echo $* | grep keep\-jaguar > /dev/null ) ; then
+ for i in $jaguar_files ; do
+ if test ! -d $i && (grep sanitize-jaguar $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping jaguar stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-jaguar $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"jaguar\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-jaguar/,/end-\sanitize\-jaguar/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
+
psion_files="config.sub configure.in"
if ( echo $* | grep keep\-psion > /dev/null ) ; then