summaryrefslogtreecommitdiff
path: root/abump.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 /abump.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 'abump.in')
-rwxr-xr-xabump.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/abump.in b/abump.in
index eef57d5..c16d2c1 100755
--- a/abump.in
+++ b/abump.in
@@ -81,8 +81,8 @@ fixes #${fixes#\#}
usage() {
cat >&2 <<__EOF__
-$prog $abuild_ver - bump pkgver in APKBUILDs
-Usage: $prog [-s CVE-1,CVE-2,...] [-f ISSUE] [-R|--recursive] [-k|--keep] PKGNAME-1.2.3 ...
+$program $abuild_ver - bump pkgver in APKBUILDs
+Usage: $program [-s CVE-1,CVE-2,...] [-f ISSUE] [-R|--recursive] [-k|--keep] PKGNAME-1.2.3 ...
Options:
-s, --security CVE1,CVE-2,... Security update
-f, --fixes ISSUE Fixes ISSUE
@@ -102,7 +102,8 @@ fixes=
[ -n "$APORTSDIR" ] || error "can't locate \$APORTSDIR"
git rev-parse 2>/dev/null || die "not in a git tree"
-args=`getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help -n "$prog" -- "$@"`
+args=`getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help \
+ -n "$program" -- "$@"`
if [ $? -ne 0 ]; then
usage
exit 2