# HG changeset patch # User Jim Blandy # Date 738260313 0 # Node ID 9f168990e6130721a7b1973714bdb1eed150f76f # Parent cf7b1c23e9a7847e4ba162bfb6cb9514f3d480bd * make-dist: When breaking links, remove the link before moving the copy onto it, to avoid interactive behavior. diff -r cf7b1c23e9a7 -r 9f168990e613 make-dist --- 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."