# HG changeset patch # User Jim Blandy # Date 738191772 0 # Node ID 3004f1336225f699660b9b397e893766d59b278d # Parent 77adcc23ca4496c50b6854e03bbbe46433dd58fa * make-dist: Break intra-tree links. diff -r 77adcc23ca44 -r 3004f1336225 make-dist --- 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