Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alad Wenter
aurutils
Commits
51facaca
Commit
51facaca
authored
May 25, 2022
by
Alad Wenter
Browse files
build: add diagnostics for created/existing signatures
parent
1c2a2166
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/aur-build
View file @
51facaca
...
...
@@ -464,11 +464,12 @@ while IFS= read -ru "$fd" path; do
# Skipped package build with signature
elif
[[
-f
$db_root
/
$p_base
.sig
]]
&&
[[
!
-f
$p_base
]]
;
then
printf
>
&2
'%
q\n'
"
$db_root
/
$p_base
.sig"
printf
>
&2
'%
s: existing signature file %q\n'
"
$argv0
"
"
$db_root
/
$p_base
.sig"
# No candidate signature, generate one
elif
((
sign_pkg
))
;
then
as_user gpg
"
${
gpg_args
[@]
}
"
--output
"
$p_base
"
.sig
"
$p
"
printf
>
&2
'%s: created signature file %q\n'
"
$argv0
"
"
$p_base
"
.sig
siglist+
=(
"
$p_base
"
.sig
)
fi
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment