diff options
| author | Jim Blandy | 1993-05-23 21:16:12 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-23 21:16:12 +0000 |
| commit | 5b8def65fb589a0a19c36f1a09cece01e22e4813 (patch) | |
| tree | 25bda00a54aeb3a1d2912cdade223b2e18ba4428 | |
| parent | 8fc40e801f21de8845cb57b16d71b257f0b95c33 (diff) | |
| download | emacs-5b8def65fb589a0a19c36f1a09cece01e22e4813.tar.gz emacs-5b8def65fb589a0a19c36f1a09cece01e22e4813.zip | |
* make-dist: Break intra-tree links.
| -rwxr-xr-x | make-dist | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -276,6 +276,13 @@ for subdir in lisp src lib-src info shortnames; do | |||
| 276 | cp etc/COPYING ${tempdir}/${subdir} | 276 | cp etc/COPYING ${tempdir}/${subdir} |
| 277 | done | 277 | done |
| 278 | 278 | ||
| 279 | #### Make sure that there aren't any hard links between files in the | ||
| 280 | #### distribution; people with afs can't deal with that. Okay, | ||
| 281 | #### actually we just re-copy anything with a link count greater | ||
| 282 | #### than two. | ||
| 283 | echo "Breaking intra-tree links." | ||
| 284 | find ${tempdir} ! -type d -links +2 -exec cp {} $$ \; -exec mv $$ {} \; | ||
| 285 | |||
| 279 | if [ "${newer}" ]; then | 286 | if [ "${newer}" ]; then |
| 280 | echo "Removing files older than $newer." | 287 | echo "Removing files older than $newer." |
| 281 | ## We remove .elc files unconditionally, on the theory that anyone picking | 288 | ## We remove .elc files unconditionally, on the theory that anyone picking |