svn commit: r285836 - head/usr.bin/man
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jul 24 09:20:03 UTC 2015
Author: bapt
Date: Fri Jul 24 09:20:02 2015
New Revision: 285836
URL: https://svnweb.freebsd.org/changeset/base/285836
Log:
inode should be different to actually mean mandocdb is in used
Sponsored by: gandi.net
Modified:
head/usr.bin/man/man.sh
Modified: head/usr.bin/man/man.sh
==============================================================================
--- head/usr.bin/man/man.sh Fri Jul 24 09:10:03 2015 (r285835)
+++ head/usr.bin/man/man.sh Fri Jul 24 09:20:02 2015 (r285836)
@@ -925,7 +925,7 @@ whatis_usage() {
# Supported commands
do_apropos() {
- [ $(stat -f %i /usr/bin/man) -eq $(stat -f %i /usr/bin/apropos) ] && \
+ [ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/apropos) ] && \
exec apropos "$@"
search_whatis apropos "$@"
}
@@ -962,7 +962,7 @@ do_manpath() {
}
do_whatis() {
- [ $(stat -f %i /usr/bin/man) -eq $(stat -f %i /usr/bin/whatis) ] && \
+ [ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/whatis) ] && \
exec whatis "$@"
search_whatis whatis "$@"
}
More information about the svn-src-head
mailing list