]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1706: * dh_gconf: fix glob escaping in find for schemas. Closes: #260488 4.2.16
authorjoey <joey>
Tue, 20 Jul 2004 21:26:15 +0000 (21:26 +0000)
committerjoey <joey>
Tue, 20 Jul 2004 21:26:15 +0000 (21:26 +0000)
dh_gconf

index 33d83947e82d353de248f6636195ac9bb5fee9f0..4e34cbd9e01a42c595735602a3a37630af541356 100755 (executable)
--- a/dh_gconf
+++ b/dh_gconf
@@ -45,7 +45,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        if (-d "$new_schemas_dir") {
                # Get a list of the schemas
-               my $schemas = `find $new_schemas_dir -type f -name \*.schemas -printf '%P '`;
+               my $schemas = `find $new_schemas_dir -type f -name \\*.schemas -printf '%P '`;
                if ($schemas ne '') {
                        autoscript($package,"postinst","postinst-gconf","s%#SCHEMAS#%$schemas%");
                        autoscript($package,"prerm","prerm-gconf","s%#SCHEMAS#%$schemas%");