summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-10-08 16:57:54 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-10-08 16:57:54 -0700
commit2532f33ae4a4bce96dd99f0425d8b173ef6aff12 (patch)
tree4ed7728b9a5c1ee7d1c09681882ff3d9bc61fae0
parentsign-autobuilds.sh: ensure all tarballs, netboots, and latest*txt are signed (diff)
downloadmastermirror-scripts-2532f33ae4a4bce96dd99f0425d8b173ef6aff12.tar.gz
mastermirror-scripts-2532f33ae4a4bce96dd99f0425d8b173ef6aff12.tar.bz2
mastermirror-scripts-2532f33ae4a4bce96dd99f0425d8b173ef6aff12.zip
sign-autobuilds: also ensure only using the file ascs, not symlinks20231008T235758Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsign-autobuilds.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sign-autobuilds.sh b/sign-autobuilds.sh
index cac8b7e..4832c0c 100755
--- a/sign-autobuilds.sh
+++ b/sign-autobuilds.sh
@@ -74,7 +74,7 @@ find_files_cmd=(
)
files="$( "${find_files_cmd[@]}" )"
-sigs="$(find autobuilds -name '*.asc' )"
+sigs="$(find autobuilds -type f -name '*.asc' )"
unsigned="$(comm -23 <(echo "$files" |sort) <(echo "$sigs" | sed -e 's,.asc$,,g' |sort))"
#$VERBOSEP echo "=== ARCH: $a"