Fix bug #186409, where eclean was removing files with a ~ character
authorfuzzyray <fuzzyray@gentoo.org>
Tue, 24 Jul 2007 16:32:03 +0000 (16:32 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Tue, 24 Jul 2007 16:32:03 +0000 (16:32 -0000)
svn path=/; revision=422

trunk/src/eclean/eclean

index 27969b1700b58da56762107d69b27914651d4dad..1ee2fba75e78c55f9b988b05bda417947d3c80f0 100644 (file)
@@ -515,7 +515,7 @@ def findDistfiles( \
                size_limit=0):
        # this regexp extracts files names from SRC_URI. It is not very precise,
        # but we don't care (may return empty strings, etc.), since it is fast.
-       file_regexp = re.compile('([a-zA-Z0-9_,\.\-\+]*)[\s\)]')
+       file_regexp = re.compile('([a-zA-Z0-9_,\.\-\+\~]*)[\s\)]')
        clean_dict = {}
        keep = []
        pkg_dict = {}