We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feda2c8 commit d420e5cCopy full SHA for d420e5c
contrib/guix/guix-attest
@@ -156,6 +156,9 @@ for outdir in "${OUTDIRS[@]}"; do
156
echo "${outname}: SKIPPING: Signature directory already exists in the specified guix.sigs repository"
157
outdirs_already_attested_to+=("$outdir")
158
else
159
+ # Clean up incomplete sigdir if something fails (likely gpg)
160
+ trap 'rm -rf "$outsigdir"' ERR
161
+
162
mkdir -p "$outsigdir"
163
164
(
@@ -182,6 +185,8 @@ for outdir in "${OUTDIRS[@]}"; do
182
185
echo "${outname}: Not signing SHA256SUMS as \$NO_SIGN is not empty"
183
186
fi
184
187
echo ""
188
189
+ trap - ERR # Reset ERR trap
190
191
done
192
0 commit comments