summaryrefslogtreecommitdiff
path: root/checkDependencies
diff options
context:
space:
mode:
Diffstat (limited to 'checkDependencies')
-rwxr-xr-xcheckDependencies21
1 files changed, 21 insertions, 0 deletions
diff --git a/checkDependencies b/checkDependencies
index 4adabae03..b3d216d19 100755
--- a/checkDependencies
+++ b/checkDependencies
@@ -117,6 +117,27 @@ else
packages=$(cat "${cache_file}")
fi
+packages=$(
+ join -j1 -o2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9 <(
+ printf '%s\n' "${packages}" \
+ | awk '{print $3" "$2":"$4}' \
+ | sort -u \
+ | sed '
+ s/^testing/0 \0/
+ t
+ s/^/1 /
+ ' \
+ | sort -k3,3 -k1n,1 -k2,2 \
+ | uniq -f2 \
+ | awk '{print $2":"$3}' \
+ | sort -k1,1
+ ) <(
+ printf '%s\n' "${packages}" \
+ | awk '{print $3":"$2":"$4" "$0}' \
+ | sort -k1,1
+ )
+)
+
matched_dependencies=$(
join -1 1 -2 3 -o 1.1,2.1,2.2,2.5,1.3,2.4,1.2 <(
printf '%s\n' "${packages}" \