Mercurial > emacs
comparison make-dist @ 12480:543e6df4f753
Don't break intra-tree links.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 07 Jul 1995 13:22:05 +0000 |
parents | ed11e19b4264 |
children | 1d30a1c68e44 |
comparison
equal
deleted
inserted
replaced
12479:998641b2f5d6 | 12480:543e6df4f753 |
---|---|
360 #### distribution; people with afs can't deal with that. Okay, | 360 #### distribution; people with afs can't deal with that. Okay, |
361 #### actually we just re-copy anything with a link count greater | 361 #### actually we just re-copy anything with a link count greater |
362 #### than two. (Yes, strictly greater than 2 is correct; since we | 362 #### than two. (Yes, strictly greater than 2 is correct; since we |
363 #### created these files by linking them in from the original tree, | 363 #### created these files by linking them in from the original tree, |
364 #### they'll have exactly two links normally.) | 364 #### they'll have exactly two links normally.) |
365 echo "Breaking intra-tree links." | 365 #echo "Breaking intra-tree links." |
366 find ${tempdir} ! -type d -links +2 \ | 366 #find ${tempdir} ! -type d -links +2 \ |
367 -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; | 367 # -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; |
368 | 368 |
369 if [ "${newer}" ]; then | 369 if [ "${newer}" ]; then |
370 echo "Removing files older than $newer." | 370 echo "Removing files older than $newer." |
371 ## We remove .elc files unconditionally, on the theory that anyone picking | 371 ## We remove .elc files unconditionally, on the theory that anyone picking |
372 ## up an incremental distribution already has a running Emacs to byte-compile | 372 ## up an incremental distribution already has a running Emacs to byte-compile |