1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

* make-dist: Break intra-tree links.

This commit is contained in:
Jim Blandy 1993-05-23 21:16:12 +00:00
parent 8fc40e801f
commit 5b8def65fb

View File

@ -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