abuild-sign: reformat error output

This commit is contained in:
Dubiousjim 2013-07-05 00:21:21 -04:00 committed by Natanael Copa
parent 83ff539cb7
commit 8aa5e21322

View File

@ -79,13 +79,15 @@ if [ $# -eq 0 ]; then
fi fi
if [ -z "$privkey" ]; then if [ -z "$privkey" ]; then
echo "No private key found. Use 'abuild-keygen' to generate the keys" cat >&2 << __EOF__
echo "Then you can either:" No private key found. Use 'abuild-keygen' to generate the keys.
echo " 1. set the PACKAGER_PRIVKEY in $abuild_userconf" Then you can either:
echo " (Note that 'abuild-keygen -a' does this for you)" * set the PACKAGER_PRIVKEY in $abuild_userconf
echo " 2. set the PACKAGER_PRIVKEY in $abuild_conf" ('abuild-keygen -a' does this for you)
echo " 3. specify the key with the -k option" * set the PACKAGER_PRIVKEY in $abuild_conf
echo "" * specify the key with the -k option to $prog
__EOF__
exit 1 exit 1
fi fi