]> git.eshelyaron.com Git - emacs.git/commitdiff
(files): When computing arguments automatically, ignore non-files
authorPaul Eggert <eggert@twinsun.com>
Tue, 13 May 1997 22:44:08 +0000 (22:44 +0000)
committerPaul Eggert <eggert@twinsun.com>
Tue, 13 May 1997 22:44:08 +0000 (22:44 +0000)
within the RCS subdirectory.

lib-src/rcs2log

index d6abdeb0d0b1f97bc039451a8753b113c71bd442..ded43536deb10ecf6df5586552082051d4d58004 100755 (executable)
@@ -28,7 +28,7 @@ Options:
 
 Report bugs to <bug-gnu-emacs@prep.ai.mit.edu>.'
 
-Id='$Id: rcs2log,v 1.39 1997/05/11 18:43:55 eggert Exp eggert $'
+Id='$Id: rcs2log,v 1.40 1997/05/11 20:02:32 eggert Exp eggert $'
 
 # Copyright 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
 
@@ -281,7 +281,9 @@ case $# in
                                case $file in
                                RCS/. | RCS/.. | RCS/,*, | RCS/*_) continue;;
                                RCS/.rcsfreeze.log | RCS/.rcsfreeze.ver) continue;;
-                               RCS/.\* | RCS/\* | .\*,v | \*,v) test -f "$file" || continue
+                               RCS/.\* | RCS/\* | .\*,v | \*,v) test -f "$file" || continue;;
+                               RCS/*,v | RCS/.*,v) ;;
+                               RCS/* | RCS/.*) test -f "$file" || continue
                                esac
                                case $files in
                                '') files=$file;;