diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-31 09:12:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-31 09:12:04 +0000 |
commit | f24e997104849f4a7cf9e2f73a3cc66a83624fcb (patch) | |
tree | 69f91c252202ba6d691a6273c11c92e0db9f80e1 /abuild.in | |
parent | 5ca02a21fe210f2233b20fa986df68f975823e97 (diff) | |
download | abuild-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-x | abuild.in | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |