summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-10-08 21:46:11 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-10-08 21:46:11 -0700
commit728480cb48b4ee11a827a9c4a84f731f3cb8052b (patch)
treeba46faab547e628b867b2e1339468f7b1facf349
parentverify-digests.sh: cleanup for newer systems (diff)
downloadmastermirror-scripts-20231009T044615Z.tar.gz
mastermirror-scripts-20231009T044615Z.tar.bz2
mastermirror-scripts-20231009T044615Z.zip
sign-autobuilds: the resign loop was accidently broken years ago when a variable was renamed20231009T044615Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xsign-autobuilds.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sign-autobuilds.sh b/sign-autobuilds.sh
index 233a1e4..b70ba42 100755
--- a/sign-autobuilds.sh
+++ b/sign-autobuilds.sh
@@ -125,7 +125,8 @@ for dgst in $unsigned ; do
fi
done
-for dgst in $digests ; do
+for dgst in ${sigs}; do
+ dgst=${dgst%.asc}
if [ -f ${dgst}.asc -a ${dgst} -nt ${dgst}.asc ]; then
$VERBOSEP echo "Resigning $dgst"
rm -f ${dgst}.asc