abuild: strip versions from dependencies when building recursively

This commit is contained in:
Natanael Copa 2009-08-31 09:12:04 +00:00
parent 5ca02a21fe
commit f24e997104

View File

@ -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