aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-09-04 03:59:15 +0000
committerK. Richard Pixley <rich@cygnus>1991-09-04 03:59:15 +0000
commit01f0a88e4cd8f700fff1dde52cc58300dba4a37f (patch)
tree01f3cf2937a6ab8d5f52d8904c17b3c15a7ebc8a /bfd/.Sanitize
parent5f62d65b5a5081d4dbc9f2945db1c2b03e23e6c1 (diff)
downloadgdb-01f0a88e4cd8f700fff1dde52cc58300dba4a37f.zip
gdb-01f0a88e4cd8f700fff1dde52cc58300dba4a37f.tar.gz
gdb-01f0a88e4cd8f700fff1dde52cc58300dba4a37f.tar.bz2
Added "recover"'ability.
Diffstat (limited to 'bfd/.Sanitize')
-rw-r--r--bfd/.Sanitize13
1 files changed, 9 insertions, 4 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index ad2bd2a..c848c12 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -17,8 +17,6 @@
Do-first:
-recover=aoutx.h
-
echo Sanitizing `pwd`.
# All files listed between the "Things-to-keep:" line and the
@@ -90,7 +88,11 @@ else
rm -f new
while grep -s start-sanitize-v9 aoutx.h ; do
sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
- rm aoutx.h
+ if [ -n "${safe}" ] ; then
+ mv aoutx.h .Recover
+ else
+ rm aoutx.h
+ fi
mv new aoutx.h
done
fi
@@ -100,7 +102,10 @@ echo Done in `pwd`.
#
#
# $Log$
-# Revision 1.19 1991/09/03 22:21:30 rich
+# Revision 1.20 1991/09/04 03:59:15 rich
+# Added "recover"'ability.
+#
+# Revision 1.19 1991/09/03 22:21:30 rich
# "recover" aoutx.h
#
# Revision 1.18 1991/08/29 00:35:06 gnu