--- revdep-rebuild.orig 2005-08-12 23:47:12.000000000 -0500 +++ revdep-rebuild 2005-09-09 14:30:21.000000000 -0500 @@ -257,7 +257,7 @@ fi # check if it's GNU's stat or BSD's stat... -if stat 2>&1 | grep coreutils; then +if stat --version 2>&1 | grep coreutils > /dev/null; then STAT="stat -c %Y " else STAT="stat -f %m "