summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-31 09:12:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-31 09:12:04 +0000
commitf24e997104849f4a7cf9e2f73a3cc66a83624fcb (patch)
tree69f91c252202ba6d691a6273c11c92e0db9f80e1 /abuild.in
parent5ca02a21fe210f2233b20fa986df68f975823e97 (diff)
downloadabuild-f24e997104849f4a7cf9e2f73a3cc66a83624fcb.tar.gz
abuild-f24e997104849f4a7cf9e2f73a3cc66a83624fcb.tar.bz2
abuild-f24e997104849f4a7cf9e2f73a3cc66a83624fcb.tar.xz
abuild-f24e997104849f4a7cf9e2f73a3cc66a83624fcb.zip
abuild: strip versions from dependencies when building recursively
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index b718a67..23c9f96 100755
--- a/abuild.in
+++ b/abuild.in
@@ -712,7 +712,11 @@ depparse_aports() {
}
deptrace() {
- local deps="$@"
+ local deps= i=
+ # strip versions from deps
+ for i in "$@"; do
+ deps="$deps ${i%[<>=]*}"
+ done
[ -z "$deps" ] && return 0
( depparse_aports
if [ -z "$upgrade" ]; then