summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-25 21:47:07 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-25 21:47:07 +0000
commitb934b828dd52055319b5afb605573aa718f40004 (patch)
tree969e3653a233d93c17f5c8e9412f907cf15c116e /make-dist
parenta506f40f55299fecbbb98941389d58d53859c6a5 (diff)
downloademacs-b934b828dd52055319b5afb605573aa718f40004.tar.gz
When breaking links, use cp -p.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index ecfece21695..303ed3494e0 100755
--- 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."