diff options
author | joeyh <joeyh> | 2006-01-20 22:06:07 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2006-01-20 22:06:07 +0000 |
commit | 9294875cbb26268af70ec8a84fb9ff74c76cf957 (patch) | |
tree | e350e57a01227529c522ec1e20b3348cc203a4b5 /Debian/Debhelper | |
parent | 14c13fe2e86ef9b41ad215b26ebf3d290e444449 (diff) |
r1859: * Reverted change in 4.1.9, so generation of EXCLUDE_FIND escapes "." to
"\\.", which turns into "\." after being run through the shell, and
prevents find from treating -X.svn as a regexp that matches files such
as foo/svn.vim. (It's safe to do this now that all uses of EXCLUDE_FIND are
via complex_doit(), which was not the case of dh_clean when this change
was originally made.) Closes: #349070
Diffstat (limited to 'Debian/Debhelper')
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 7c0a18a4..80645abe 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -55,7 +55,7 @@ sub init { foreach (@{$dh{EXCLUDE}}) { my $x=$_; $x=escape_shell($x); - $x=~s/\./\\./g; + $x=~s/\./\\\\./g; $dh{EXCLUDE_FIND}.="-regex .\\*$x.\\* -or "; } $dh{EXCLUDE_FIND}=~s/ -or $//; |