diff options
author | Paul Eggert <eggert@twinsun.com> | 1993-07-29 19:56:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@twinsun.com> | 1993-07-29 19:56:38 +0000 |
commit | 3b31174ce555de401fc196bb296e37b6597eb3aa (patch) | |
tree | 1ecfb155a625b786b58a75814af85bc7246f52f9 /lib-src/rcs-checkin | |
parent | 7520f3189088b9919d0780807c89892aa110ae23 (diff) |
Don't check whether file is readable until we have decided not to ignore it.
Diffstat (limited to 'lib-src/rcs-checkin')
-rwxr-xr-x | lib-src/rcs-checkin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/rcs-checkin b/lib-src/rcs-checkin index 88fd01125f..7b894eac83 100755 --- a/lib-src/rcs-checkin +++ b/lib-src/rcs-checkin @@ -35,9 +35,6 @@ ls_owner_pattern='[^ ][^ ]* *[^ ][^ ]* *\([^ ][^ ]*\)' for file do - # Check that file is readable. - <$file || exit - # Make it easier to say `rcs-checkin *' # by ignoring file names that already contain `~', or end in `,v'. case $file in @@ -46,6 +43,9 @@ do # Ignore non-files too. test -f "$file" || continue + # Check that file is readable. + <$file || exit + # If the RCS file does not already exist, # initialize it with a description from $file's first line. rlog -R "$file" >/dev/null 2>&1 || |