Add "*,v" to the list of scratch files to skip.

Suggested by Johnny Lam / Alistair Crooks
This commit is contained in:
lukem 2003-07-26 05:13:47 +00:00
parent 08a1c4bcd3
commit 6d7e3e1b0d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: rc.subr,v 1.59 2003/07/04 14:14:10 lukem Exp $
# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $
#
# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
# All rights reserved.
@ -703,7 +703,7 @@ run_rc_script()
*.sh) # run in current shell
set $_arg ; . $_file
;;
*[~#]|*.OLD|*.orig) # scratch file; skip
*[~#]|*.OLD|*.orig|*,v) # scratch file; skip
warn "Ignoring scratch file $_file"
;;
*) # run in subshell