HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe7cd06
)
* make-dist: When breaking links, remove the link before moving
author
Jim Blandy
<jimb@redhat.com>
Mon, 24 May 1993 16:18:33 +0000
(16:18 +0000)
committer
Jim Blandy
<jimb@redhat.com>
Mon, 24 May 1993 16:18:33 +0000
(16:18 +0000)
the copy onto it, to avoid interactive behavior.
make-dist
patch
|
blob
|
blame
|
history
diff --git
a/make-dist
b/make-dist
index
09211d6
..
ac2bd91
100755
(executable)
--- a/
make-dist
+++ b/
make-dist
@@
-281,7
+281,8
@@
done
#### 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."