aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-10-10 01:08:04 +0000
committerK. Richard Pixley <rich@cygnus>1991-10-10 01:08:04 +0000
commite00efef1a28722fc620cbd8fde9605f096a83629 (patch)
treef85638eef44bdbead68569329e79f0a9cd6d5fd2 /.Sanitize
parent50ac10c17a92f03ea1d81f47debce9d1954d031e (diff)
downloadgdb-e00efef1a28722fc620cbd8fde9605f096a83629.zip
gdb-e00efef1a28722fc620cbd8fde9605f096a83629.tar.gz
gdb-e00efef1a28722fc620cbd8fde9605f096a83629.tar.bz2
copy the old file to the new before cleaning it. This should
propogate mode bits like execute.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize7
1 files changed, 6 insertions, 1 deletions
diff --git a/.Sanitize b/.Sanitize
index 24abfe4..9db70ab 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -71,6 +71,7 @@ else
for i in * ; do
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
echo Cleaning the \"v9\" out of $i...
+ cp $i new
sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
mv $i .Recover
@@ -85,7 +86,11 @@ echo Done in `pwd`.
#
#
# $Log$
-# Revision 1.17 1991/10/02 13:06:16 rich
+# Revision 1.18 1991/10/10 01:08:04 rich
+# copy the old file to the new before cleaning it. This should
+# propogate mode bits like execute.
+#
+# Revision 1.17 1991/10/02 13:06:16 rich
# No longer needs to propogate configure and config.sub.
#
# Revision 1.16 1991/09/13 03:59:44 gnu