copy_buildsync: ensure cleanup of old symlinks fires
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
04bc16e086
commit
9a3f920c95
|
@ -217,7 +217,11 @@ process_arch() {
|
|||
fi
|
||||
|
||||
# Remove old links in the directory.
|
||||
find "current-$v" -type l ! -name "$f" ! -name "${variant_date}*"
|
||||
find "current-$v" \
|
||||
-type l \
|
||||
! -name "$f" \
|
||||
! -name "*${variant_date}*" \
|
||||
-delete
|
||||
|
||||
# install new links
|
||||
# do NOT unconditionally use -f here, we do not want to override the
|
||||
|
|
Loading…
Reference in a new issue