Spell "cmp > /dev/null" as "cmp -s".

Suggested by:	dougb
This commit is contained in:
cperciva 2005-08-14 02:45:04 +00:00
parent 157c398c7e
commit e0396a82f2

View File

@ -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