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

Suggested by:	dougb
This commit is contained in:
Colin Percival 2005-08-14 02:45:04 +00:00
parent 723c596167
commit 24a3ff142f

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