From: agriffis Date: Mon, 14 Mar 2005 18:38:35 +0000 (-0000) Subject: Don't complain about non-files X-Git-Tag: gentoolkit-0.2.4.3~308 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f1e3e0e4c17fe18d7f1002e7f3f9e63a9d88431;p=gentoolkit.git Don't complain about non-files svn path=/; revision=198 --- diff --git a/trunk/src/eviewcvs/eviewcvs b/trunk/src/eviewcvs/eviewcvs index 4203930..2953779 100755 --- a/trunk/src/eviewcvs/eviewcvs +++ b/trunk/src/eviewcvs/eviewcvs @@ -41,10 +41,7 @@ chdir() { [[ -n $* ]] || set -- * for f in "$@"; do - if [[ ! -f $f ]]; then - echo "$f is not a file" >&2 - continue - fi + [[ -f $f ]] || continue # Determine the directory settings if [[ $f == */* ]]; then