copy the old file to the new before cleaning it. This should
propogate mode bits like execute.
This commit is contained in:
parent
50ac10c17a
commit
e00efef1a2
|
@ -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,6 +86,10 @@ echo Done in `pwd`.
|
|||
#
|
||||
#
|
||||
# $Log$
|
||||
# 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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue