summaryrefslogtreecommitdiff
path: root/abuild-sign.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-25 07:24:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-25 07:24:46 +0000
commit1822f3f624e35898908fbe5edc0d282cefb92ac0 (patch)
treee5f78a494fc11f4fcbc3c88ec26564b7cdbe75a2 /abuild-sign.in
parenta924d3c171f81a28fe0610e76274a0b7f8473f64 (diff)
downloadabuild-1822f3f624e35898908fbe5edc0d282cefb92ac0.tar.gz
abuild-1822f3f624e35898908fbe5edc0d282cefb92ac0.tar.bz2
abuild-1822f3f624e35898908fbe5edc0d282cefb92ac0.tar.xz
abuild-1822f3f624e35898908fbe5edc0d282cefb92ac0.zip
functions: rename prog to program
Diffstat (limited to 'abuild-sign.in')
-rw-r--r--abuild-sign.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/abuild-sign.in b/abuild-sign.in
index f00c0a1..f43fe6b 100644
--- a/abuild-sign.in
+++ b/abuild-sign.in
@@ -44,8 +44,8 @@ do_sign() {
usage() {
cat >&2 <<__EOF__
-$prog $abuild_ver - sign indexes
-Usage: $prog [-k PRIVKEY] [-p PUBKEY] INDEXFILE...
+$program $abuild_ver - sign indexes
+Usage: $program [-k PRIVKEY] [-p PUBKEY] INDEXFILE...
Options:
-k, --private KEY The private key to use for signing
-p, --public KEY The name of public key. apk add will look for /etc/apk/keys/KEY
@@ -59,7 +59,7 @@ privkey="$PACKAGER_PRIVKEY"
pubkey=
quiet=
-args=`getopt -o k:p:qh --long private:,public:,quiet,help -n "$prog" -- "$@"`
+args=`getopt -o k:p:qh --long private:,public:,quiet,help -n "$program" -- "$@"`
if [ $? -ne 0 ]; then
usage
exit 2
@@ -88,7 +88,7 @@ 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
+ * specify the key with the -k option to $program
__EOF__
exit 1