Skip to content
Snippets Groups Projects
Commit f24e9971 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: strip versions from dependencies when building recursively

parent 5ca02a21
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment