forked from kiss-community/kiss
kiss: pkg_fixdeps(): More portable diff
This commit is contained in:
parent
47de49f92c
commit
36568ec045
3
kiss
3
kiss
@ -436,8 +436,9 @@ pkg_fixdeps() {
|
|||||||
|
|
||||||
# Display a 'diff' of the new dependencies against
|
# Display a 'diff' of the new dependencies against
|
||||||
# the old ones. '-N' treats non-existent files as blank.
|
# 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
|
[ -s depends ] || rm -f depends
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user