changeset 5184:9f18f50000e5

When breaking links, use cp -p.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Nov 1993 21:47:07 +0000
parents d8758a4a0280
children 52629d087993
files make-dist
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make-dist	Thu Nov 25 21:40:15 1993 +0000
+++ b/make-dist	Thu Nov 25 21:47:07 1993 +0000
@@ -301,7 +301,7 @@
 #### than two.
 echo "Breaking intra-tree links."
 find ${tempdir} ! -type d -links +2 \
-  -exec cp {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;
+  -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;
 
 if [ "${newer}" ]; then
   echo "Removing files older than $newer."