aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-10-29 23:01:41 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-10-29 23:01:41 +0000
commitd649db65ade654881cd7575b3382cf08ec8cae83 (patch)
tree5558ed3e5516149e9c6e9f54cb93afa48fd216fa /.Sanitize
parentd020618aebb358a4fe00b92dbd425e911479def3 (diff)
downloadgdb-d649db65ade654881cd7575b3382cf08ec8cae83.zip
gdb-d649db65ade654881cd7575b3382cf08ec8cae83.tar.gz
gdb-d649db65ade654881cd7575b3382cf08ec8cae83.tar.bz2
* config.sub: Add tx49 configury.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize29
1 files changed, 29 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 4f3d4ee..cd20f4b 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -338,6 +338,35 @@ else
done
fi
+tx49_files="ChangeLog config.sub"
+
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+ for i in $tx49_files ; do
+ if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tx49 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tx49\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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
+
tic80_files="ChangeLog config.sub configure.in"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then