diff options
author | Jim Blandy <jimb@redhat.com> | 1993-05-23 21:16:12 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-05-23 21:16:12 +0000 |
commit | 432727c8ac94ab07524f4da6e98028d676f59bbd (patch) | |
tree | cc59baa423787b7882d6f7a445f093caa7704d6a /make-dist | |
parent | 438f4e2126f365fd7fba9f7c2bcaa5521192c0a0 (diff) | |
download | emacs-432727c8ac94ab07524f4da6e98028d676f59bbd.tar.gz |
* make-dist: Break intra-tree links.
Diffstat (limited to 'make-dist')
-rwxr-xr-x | make-dist | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/make-dist b/make-dist index 1c4fa4e2d4d..09211d6239b 100755 --- a/make-dist +++ b/make-dist @@ -276,6 +276,13 @@ for subdir in lisp src lib-src info shortnames; do 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 |