diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-11-25 21:47:07 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-11-25 21:47:07 +0000 |
commit | 2752c6f9af543056c6abf3bdb916920563ab0907 (patch) | |
tree | db4091b0f03cd008970c475b106b54f3062b54da /make-dist | |
parent | 5325ce514d39fec1f3e7ce5f23c3e6c1aa3d67a5 (diff) | |
download | emacs-2752c6f9af543056c6abf3bdb916920563ab0907.tar.gz |
When breaking links, use cp -p.
Diffstat (limited to 'make-dist')
-rwxr-xr-x | make-dist | 2 |
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." |