check if file is actually made into existance before committing to cvs

This commit is contained in:
Ward Wouts 2004-01-03 09:14:11 +00:00
parent 110e5bfcc1
commit 118f0b1cab

View file

@ -71,9 +71,9 @@ if ( $cvspath ) {
} }
} }
} else { } else {
if ( $option{e} ) { if ( ! -e $_ && $option{e} ) {
&edit($_); # edit file &edit($_); # edit file
unless (&cmptocvs($_)) { # if changed... then: if ( -f $_ ) {
&cvsupdate($_); # copy file to cvs & check in into cvs &cvsupdate($_); # copy file to cvs & check in into cvs
# copy file back; don't change permissions # copy file back; don't change permissions
} }