forked from kiss-community/kiss
Merge pull request #135 from clifordsab/kiss-fix-diff
kiss: pkg_fixdeps(): Make diff work across diff-erent implementations
This commit is contained in:
commit
7c7aa83710
3
kiss
3
kiss
@ -436,8 +436,9 @@ pkg_fixdeps() {
|
||||
|
||||
# Display a 'diff' of the new dependencies against
|
||||
# the old ones. '-N' treats non-existent files as blank.
|
||||
diff "$dep_file" depends ||:
|
||||
diff -U 3 "$dep_file" depends ||:
|
||||
|
||||
# Remove the package's depends file if it's empty.
|
||||
[ -s depends ] || rm -f depends
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user