mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-03 05:02:18 +00:00
abuild-sign: reformat error output
This commit is contained in:
parent
83ff539cb7
commit
8aa5e21322
@ -79,13 +79,15 @@ if [ $# -eq 0 ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$privkey" ]; then
|
||||
echo "No private key found. Use 'abuild-keygen' to generate the keys"
|
||||
echo "Then you can either:"
|
||||
echo " 1. set the PACKAGER_PRIVKEY in $abuild_userconf"
|
||||
echo " (Note that 'abuild-keygen -a' does this for you)"
|
||||
echo " 2. set the PACKAGER_PRIVKEY in $abuild_conf"
|
||||
echo " 3. specify the key with the -k option"
|
||||
echo ""
|
||||
cat >&2 << __EOF__
|
||||
No private key found. Use 'abuild-keygen' to generate the keys.
|
||||
Then you can either:
|
||||
* set the PACKAGER_PRIVKEY in $abuild_userconf
|
||||
('abuild-keygen -a' does this for you)
|
||||
* set the PACKAGER_PRIVKEY in $abuild_conf
|
||||
* specify the key with the -k option to $prog
|
||||
|
||||
__EOF__
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user