Mercurial > emacs
changeset 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 | cf7b1c23e9a7 |
children | cfd999700613 |
files | make-dist |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make-dist Mon May 24 16:01:41 1993 +0000 +++ b/make-dist Mon May 24 16:18:33 1993 +0000 @@ -281,7 +281,8 @@ #### 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 $$ {} \; +find ${tempdir} ! -type d -links +2 \ + -exec cp {} $$ \; -exec rm -f {} \; -exec mv $$ {} \; if [ "${newer}" ]; then echo "Removing files older than $newer."