X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 875C6DC76D3 for ; Fri, 5 Jul 2013 04:21:55 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 128DA2061B for ; Fri, 5 Jul 2013 00:21:47 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 05 Jul 2013 00:21:47 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :in-reply-to:references; s=smtpout; bh=y1GpdamuHMg3DWK6mA65XZ8Pa ho=; b=fZb76wXQVOy+AExIfeBng8NZumomLsHPp8s62zWXLho9avIuq0SgCRQyX RGUszCbm3AbkmdpEhc0wTLUpK5GEb+7oTAjgCxjA82b03toa0zNkYuvQtSeV8kWm 6eKYcJw2ahzxv+Rep4c4xCnTPqLl7NAPR3vB/zaAdFDx6HsHf4= X-Sasl-enc: g09Bl7uPCdqH9zcqn7yHG09VRYCVl9YLj/+gabtqsLl0 1372998106 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id CF1CF680204 for ; Fri, 5 Jul 2013 00:21:46 -0400 (EDT) From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 12/31] abuild-sign: reformat error output Date: Fri, 5 Jul 2013 00:21:21 -0400 Message-Id: <3282f8a27507933dd7b4969ec38e683d2e9cd5f0.1372997335.git.dubiousjim@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- abuild-sign.in | 16 +++++++++------- 1 file 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 -- 1.8.3.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---