diff make-dist @ 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 b4ed97a59663
children 810820d03e24
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."