Mercurial > emacs
comparison make-dist @ 3022:9f168990e613
* make-dist: When breaking links, remove the link before moving
the copy onto it, to avoid interactive behavior.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 24 May 1993 16:18:33 +0000 |
parents | 3004f1336225 |
children | 7ecd0f1c7465 |
comparison
equal
deleted
inserted
replaced
3021:cf7b1c23e9a7 | 3022:9f168990e613 |
---|---|
279 #### Make sure that there aren't any hard links between files in the | 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, | 280 #### distribution; people with afs can't deal with that. Okay, |
281 #### actually we just re-copy anything with a link count greater | 281 #### actually we just re-copy anything with a link count greater |
282 #### than two. | 282 #### than two. |
283 echo "Breaking intra-tree links." | 283 echo "Breaking intra-tree links." |
284 find ${tempdir} ! -type d -links +2 -exec cp {} $$ \; -exec mv $$ {} \; | 284 find ${tempdir} ! -type d -links +2 \ |
285 -exec cp {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; | |
285 | 286 |
286 if [ "${newer}" ]; then | 287 if [ "${newer}" ]; then |
287 echo "Removing files older than $newer." | 288 echo "Removing files older than $newer." |
288 ## We remove .elc files unconditionally, on the theory that anyone picking | 289 ## We remove .elc files unconditionally, on the theory that anyone picking |
289 ## up an incremental distribution already has a running Emacs to byte-compile | 290 ## up an incremental distribution already has a running Emacs to byte-compile |