Mercurial > emacs
comparison make-dist @ 5184:9f18f50000e5
When breaking links, use cp -p.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 25 Nov 1993 21:47:07 +0000 |
parents | b4ed97a59663 |
children | 810820d03e24 |
comparison
equal
deleted
inserted
replaced
5183:d8758a4a0280 | 5184:9f18f50000e5 |
---|---|
299 #### distribution; people with afs can't deal with that. Okay, | 299 #### distribution; people with afs can't deal with that. Okay, |
300 #### actually we just re-copy anything with a link count greater | 300 #### actually we just re-copy anything with a link count greater |
301 #### than two. | 301 #### than two. |
302 echo "Breaking intra-tree links." | 302 echo "Breaking intra-tree links." |
303 find ${tempdir} ! -type d -links +2 \ | 303 find ${tempdir} ! -type d -links +2 \ |
304 -exec cp {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; | 304 -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; |
305 | 305 |
306 if [ "${newer}" ]; then | 306 if [ "${newer}" ]; then |
307 echo "Removing files older than $newer." | 307 echo "Removing files older than $newer." |
308 ## We remove .elc files unconditionally, on the theory that anyone picking | 308 ## We remove .elc files unconditionally, on the theory that anyone picking |
309 ## up an incremental distribution already has a running Emacs to byte-compile | 309 ## up an incremental distribution already has a running Emacs to byte-compile |