changeset 9611:9e5812a795da

Use test -r instead of < to check readability, to avoid syntax error.
author David J. MacKenzie <djm@gnu.org>
date Wed, 19 Oct 1994 21:27:58 +0000
parents 6c39fe6d9581
children b217e71338f4
files lib-src/rcs-checkin
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/rcs-checkin	Wed Oct 19 19:55:36 1994 +0000
+++ b/lib-src/rcs-checkin	Wed Oct 19 21:27:58 1994 +0000
@@ -44,7 +44,7 @@
 	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.