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 | a38955a9719660722cdf16a96610ef3e33564b7f (patch) | |
tree | bea6d0fa65a1772748899cc04abb5cb1818f558f /lib-src | |
parent | cfee8e0375ad3f92a7b5a6d7e3a10a051925c75a (diff) | |
download | emacs-a38955a9719660722cdf16a96610ef3e33564b7f.tar.gz |
Don't check whether file is readable until we have decided not to ignore it.
Diffstat (limited to 'lib-src')
-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 88fd01125f3..7b894eac83d 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 || |