diff options
Diffstat (limited to 'abump.in')
-rwxr-xr-x | abump.in | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -35,11 +35,11 @@ do_bump() { # verify APKBUILD ( . "$a" || exit 1 - [ "$pkgname" = "$name" ] || die "$name: APKBUILD has different \$pkgname" - type package | grep -q function || die "$name: missing package()" + [ "$pkgname" = "$name" ] || die "APKBUILD has different \$pkgname for $name" + type package | grep -q function || die "missing package() for $name" case $(apk version --test "$pkgver" "$ver") in - '=') die "$pkgname: already at version $pkgver";; - '>') die "$pkgname: already at newer version $pkgver";; + '=') die "$pkgname is already at version $pkgver";; + '>') die "$pkgname is already at newer version $pkgver";; '<') exit 0;; *) exit 1;; esac @@ -59,7 +59,7 @@ do_bump() { fixes #${fixes#\#} " fi - echo "$message" + msg "$message" sed -i -e "s/^pkgver=.*/pkgver=$ver/" \ -e "s/^pkgrel=.*/pkgrel=0/" \ |