diff options
author | Dubiousjim <dubiousjim@gmail.com> | 2013-07-05 00:21:21 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-09 07:00:53 +0000 |
commit | 8aa5e21322fa06ec8f445afb5a1be6edde7e616e (patch) | |
tree | a184aa3bb18b4764e4dda05babb28c7ca8dd53ee /abuild-sign.in | |
parent | 83ff539cb7fbd2fed95741ba3b9034f694b71bb9 (diff) | |
download | abuild-8aa5e21322fa06ec8f445afb5a1be6edde7e616e.tar.gz abuild-8aa5e21322fa06ec8f445afb5a1be6edde7e616e.tar.bz2 abuild-8aa5e21322fa06ec8f445afb5a1be6edde7e616e.tar.xz abuild-8aa5e21322fa06ec8f445afb5a1be6edde7e616e.zip |
abuild-sign: reformat error output
Diffstat (limited to 'abuild-sign.in')
-rw-r--r-- | abuild-sign.in | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/abuild-sign.in b/abuild-sign.in index b5250af..3303750 100644 --- a/abuild-sign.in +++ b/abuild-sign.in @@ -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 |