aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-18 20:35:06 +0000
committermerakor <cem@ckyln.com>2020-04-18 20:35:06 +0000
commit1e74e3470ba975fb280d3f0d27fcf914c43c5e8d (patch)
treeb59577304e791b4b469c0e0474a66902f326d2c7
parent9844402f7b4de091f2a62f5149cf007be15667d2 (diff)
downloadcpt-1e74e3470ba975fb280d3f0d27fcf914c43c5e8d.tar.gz
kiss: pkg_fixdeps(): More portable diff
FossilOrigin-Name: 3955f24209ce252505f6f9221a69f1dae2c18aa6914ca069323bf6cb133a6847
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index e226b51..7c0744f 100755
--- a/kiss
+++ b/kiss
@@ -465,7 +465,7 @@ pkg_fixdeps() {
sort -uk1,1 -o depends depends 2>/dev/null ||:
# Display a diff of the new dependencies against the old ones.
- diff "$dep_file" depends 2>/dev/null ||:
+ diff -U 3 "$dep_file" depends 2>/dev/null ||:
# Remove the depends file if it is empty.
[ -s depends ] || rm -f depends