aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/copy_buildsync.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
index 71e890d9..7016fa26 100755
--- a/scripts/copy_buildsync.sh
+++ b/scripts/copy_buildsync.sh
@@ -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