Mercurial > emacs
changeset 2986:3004f1336225
* make-dist: Break intra-tree links.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sun, 23 May 1993 21:16:12 +0000 |
parents | 77adcc23ca44 |
children | f62d4f8e6499 |
files | make-dist |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make-dist Sun May 23 21:04:16 1993 +0000 +++ b/make-dist Sun May 23 21:16:12 1993 +0000 @@ -276,6 +276,13 @@ cp etc/COPYING ${tempdir}/${subdir} done +#### Make sure that there aren't any hard links between files in the +#### distribution; people with afs can't deal with that. Okay, +#### actually we just re-copy anything with a link count greater +#### than two. +echo "Breaking intra-tree links." +find ${tempdir} ! -type d -links +2 -exec cp {} $$ \; -exec mv $$ {} \; + if [ "${newer}" ]; then echo "Removing files older than $newer." ## We remove .elc files unconditionally, on the theory that anyone picking