[Zope-Checkins] CVS: Zope/inst - install.py:1.1.2.4
Chris McDonough
chrism@zope.com
Tue, 26 Nov 2002 02:19:09 -0500
Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv20735
Modified Files:
Tag: chrism-install-branch
install.py
Log Message:
Fix bad default omitpattern regex. We now no longer copy dotfiles unless they are relative paths to real files.
=== Zope/inst/install.py 1.1.2.3 => 1.1.2.4 ===
--- Zope/inst/install.py:1.1.2.3 Sat Oct 12 03:47:37 2002
+++ Zope/inst/install.py Tue Nov 26 02:19:08 2002
@@ -18,7 +18,7 @@
"""
import sys, getopt, os, stat, glob, re
from shutil import copy2, rmtree
-default_omitpattern = r'(^.*~$|^CVS$|^\.svn$|^\.cvsignore$|^\.\#.*$)'
+default_omitpattern = r'(.*~|CVS|\.[^./].*)$'
def main(src, dst, symlinks=1, dirmode=0755, fmode=0644,
omitpattern=default_omitpattern, retain_xbit=1):