From 01f0a88e4cd8f700fff1dde52cc58300dba4a37f Mon Sep 17 00:00:00 2001
From: "K. Richard Pixley" <rich@cygnus>
Date: Wed, 4 Sep 1991 03:59:15 +0000
Subject: [PATCH] Added "recover"'ability.

---
 bfd/.Sanitize | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index ad2bd2a6844..c848c12f6cc 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