aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-13 03:11:27 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-13 03:11:27 +0000
commiteebff21c7d401b8a7c9466c6a75800adf6e4edb2 (patch)
tree93ea2711d02d1903601e05e1dbce0a3612e34438 /.Sanitize
parent15f27b29d1e8529ece4b7cf0602d70eefed92ae7 (diff)
downloadfsf-binutils-gdb-eebff21c7d401b8a7c9466c6a75800adf6e4edb2.zip
fsf-binutils-gdb-eebff21c7d401b8a7c9466c6a75800adf6e4edb2.tar.gz
fsf-binutils-gdb-eebff21c7d401b8a7c9466c6a75800adf6e4edb2.tar.bz2
Clean out "v9" stuff from here, and propagate configure and config.sub
to all lower directories after sanity sets in.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize34
1 files changed, 33 insertions, 1 deletions
diff --git a/.Sanitize b/.Sanitize
index e3db35f..e733902 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -57,12 +57,44 @@ texinfo
Do-last:
+echo Looking for signs of \"v9\"...
+
+# Don't try to clean directories here, as the 'mv' command will fail.
+# Also, grep fails on NFS mounted directories.
+if ( echo $* | grep keep\-v9 > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
+ echo Keeping v9 stuff in $i
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
+ echo Cleaning the \"v9\" out of $i...
+ sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ mv $i .Recover
+ fi
+ mv new $i
+ echo $i >> .Recover
+ fi
+ done
+fi
+
+echo Propagating sanitized top-level `configure' and `config.sub' through tree.
+
+./configure -template=./configure
+
echo Done in `pwd`.
#
#
# $Log$
-# Revision 1.13 1991/09/12 00:33:59 rich
+# Revision 1.14 1991/09/13 03:11:27 gnu
+# Clean out "v9" stuff from here, and propagate configure and config.sub
+# to all lower directories after sanity sets in.
+#
+# Revision 1.13 1991/09/12 00:33:59 rich
# add gdbm.
#
# Revision 1.12 1991/09/02 22:19:49 rich