aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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