Commit b35b5694 authored by Natanael Copa's avatar Natanael Copa

abuild-sign: remove temp signature

parent 9400ec01
......@@ -73,12 +73,11 @@ for f in "$@"; do
cd "$repo" || die "Failed to sign $i"
openssl dgst -sha1 -sign "$privkey" -out "$sig" "$i" || die "Failed to sign $i"
cd "$repo"
tar -c "$sig" | abuild-tar --cut | gzip -9 > "$tmptargz"
cat "$tmptargz" "$i" > "$tmpsigned"
rm -f "$tmptargz"
rm -f "$tmptargz" "$sig"
mv "$tmpsigned" "$i"
chmod 644 "$i"
if [ -z "$quiet" ]; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment