From 13fb70942ff0af51c27b1498b1b3a8ea973c381c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 19 Aug 2019 10:24:57 +0000 Subject: [PATCH] kiss: Fix cases of a make dep being a runtime dep --- kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 846a066..950aa9c 100755 --- a/kiss +++ b/kiss @@ -366,7 +366,9 @@ pkg_fixdeps() { done >> depends-copy # Remove duplicate entries from the new depends file. - sort depends-copy | uniq > depends-new + # This remove duplicate lines looking *only* at the + # first column. + sort -u -k1,1 depends-copy > depends-new # Display a 'diff' of the new dependencies agaisnt # the old ones. '-N' treats non-existent files as blank.