diff --git a/viewcvs-install b/viewcvs-install index 276cec60..b5405a08 100755 --- a/viewcvs-install +++ b/viewcvs-install @@ -239,7 +239,7 @@ def install_tree(src_path, dst_path, prompt_replace): for fname in files: # eliminate some items which appear in a development area if fname == 'CVS' or fname[-4:] == '.pyc' or fname[-5:] == '.orig' \ - or fname[-4:] == '.rej' or fname[0] == '.': + or fname[-4:] == '.rej' or fname[0] == '.' or fname[-1] == '~': continue src = os.path.join(src_path, fname)