mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Don't break intra-tree links.
This commit is contained in:
parent
1eb9aca7ae
commit
9b23a6c733
@ -362,9 +362,9 @@ done
|
||||
#### than two. (Yes, strictly greater than 2 is correct; since we
|
||||
#### created these files by linking them in from the original tree,
|
||||
#### they'll have exactly two links normally.)
|
||||
echo "Breaking intra-tree links."
|
||||
find ${tempdir} ! -type d -links +2 \
|
||||
-exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;
|
||||
#echo "Breaking intra-tree links."
|
||||
#find ${tempdir} ! -type d -links +2 \
|
||||
# -exec cp -p {} $$ \; -exec rm -f {} \; -exec mv $$ {} \;
|
||||
|
||||
if [ "${newer}" ]; then
|
||||
echo "Removing files older than $newer."
|
||||
|
Loading…
Reference in New Issue
Block a user