]> git.eshelyaron.com Git - emacs.git/commitdiff
Use test -r instead of < to check readability, to avoid syntax error.
authorDavid J. MacKenzie <djm@gnu.org>
Wed, 19 Oct 1994 21:27:58 +0000 (21:27 +0000)
committerDavid J. MacKenzie <djm@gnu.org>
Wed, 19 Oct 1994 21:27:58 +0000 (21:27 +0000)
lib-src/rcs-checkin

index 7b894eac83df0db6fe903e080605803e86c701df..3f41d48b0daeed42370be2d9767623b13a5316d5 100755 (executable)
@@ -44,7 +44,7 @@ do
        test -f "$file" || continue
 
        # Check that file is readable.
-       <$file || exit
+       test -r "$file" || exit
 
        # If the RCS file does not already exist,
        # initialize it with a description from $file's first line.