Commit f24e9971 authored by Natanael Copa's avatar Natanael Copa

abuild: strip versions from dependencies when building recursively

parent 5ca02a21
...@@ -712,7 +712,11 @@ depparse_aports() { ...@@ -712,7 +712,11 @@ depparse_aports() {
} }
deptrace() { deptrace() {
local deps="$@" local deps= i=
# strip versions from deps
for i in "$@"; do
deps="$deps ${i%[<>=]*}"
done
[ -z "$deps" ] && return 0 [ -z "$deps" ] && return 0
( depparse_aports ( depparse_aports
if [ -z "$upgrade" ]; then if [ -z "$upgrade" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment