aboutsummaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-25 21:47:07 +0000
committerRichard M. Stallman <[email protected]>1993-11-25 21:47:07 +0000
commit2752c6f9af543056c6abf3bdb916920563ab0907 (patch)
treedb4091b0f03cd008970c475b106b54f3062b54da /make-dist
parent5325ce514d39fec1f3e7ce5f23c3e6c1aa3d67a5 (diff)
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 ecfece2169..303ed3494e 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."