diff options
| author | Jim Blandy | 1993-05-24 16:18:33 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-24 16:18:33 +0000 |
| commit | e94817d7cd4406765f6a2728ddbaf16ed7e0dac4 (patch) | |
| tree | ab6f43912b1532a12982aebfed814b69c4b6435e /make-dist | |
| parent | fe7cd06e97287f257a2a98834d695044e99295ba (diff) | |
| download | emacs-e94817d7cd4406765f6a2728ddbaf16ed7e0dac4.tar.gz emacs-e94817d7cd4406765f6a2728ddbaf16ed7e0dac4.zip | |
* make-dist: When breaking links, remove the link before moving
the copy onto it, to avoid interactive behavior.
Diffstat (limited to 'make-dist')
| -rwxr-xr-x | make-dist | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -281,7 +281,8 @@ done | |||
| 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." |