summaryrefslogtreecommitdiffstats
path: root/abump.in
diff options
context:
space:
mode:
Diffstat (limited to 'abump.in')
-rwxr-xr-xabump.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abump.in b/abump.in
index 2ae34fc..aa47902 100755
--- a/abump.in
+++ b/abump.in
@@ -26,7 +26,7 @@ do_bump() {
ver=${p#${name}-}
# calculate APKBUILD's path
- if [ "${name#*/}" != "$name" ] && ! [ -d "$APORTSDIR/${name%/*} ]; then
+ if [ "${name#*/}" != "$name" ] && ! [ -d "$APORTSDIR/${name%/*}" ]; then
error "'$p' should be of form 'foo-1.2.3' or 'main/foo-1.2.3'"
rc=1; continue
fi