summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild b/abuild
index db77da9..4d8dc65 100755
--- a/abuild
+++ b/abuild
@@ -228,7 +228,7 @@ subpkg() {
local func=$(get_split_func $i)
# call abuild recursively, setting subpkg{dir,name}
msg "Running split function $func..."
- subpkgdir="$startdir/pkg-$func" subpkgname="$i" \
+ subpkgdir="$startdir/pkg-$func" subpkgname="${i%:*}" \
$0 $func package || return 1
done
}