Spell "cmp > /dev/null" as "cmp -s".
Suggested by: dougb
This commit is contained in:
parent
157c398c7e
commit
e0396a82f2
@ -808,7 +808,7 @@ update_run() {
|
||||
fi
|
||||
|
||||
if sort ${WORKDIR}/INDEX |
|
||||
cmp ${PORTSDIR}/.portsnap.INDEX - >/dev/null; then
|
||||
cmp -s ${PORTSDIR}/.portsnap.INDEX -; then
|
||||
echo "Ports tree is already up to date."
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user