aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 10:24:56 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-08-19 10:24:56 +0000
commitce1888b3bc83e42167de1bd365de395aaf762748 (patch)
tree087bf5ef0ca77ad701ec25d34d5c62e30a26ac64 /kiss
parentc7f7798d6c8e39ce3fe4da8b1879cfa7bd4e113c (diff)
downloadcpt-ce1888b3bc83e42167de1bd365de395aaf762748.tar.gz
kiss: Fix cases of a make dep being a runtime dep
FossilOrigin-Name: bf22b35490b146f412de49d649d80101985e09d8dac48280adbaa9ce310faad7
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
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.