]> git.eshelyaron.com Git - emacs.git/commitdiff
When breaking links, use cp -p.
authorRichard M. Stallman <rms@gnu.org>
Thu, 25 Nov 1993 21:47:07 +0000 (21:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 25 Nov 1993 21:47:07 +0000 (21:47 +0000)
make-dist

index ecfece216955f4f40190edf2c8d075f409c0ae0b..303ed3494e09f551a84ed69b28d1073e5134b4d5 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -301,7 +301,7 @@ done
 #### 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."