]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installcatalogs
r1620: * dh_installcatalogs: Fixed to create dir in tmpdir. Closes: #218237
[debhelper.git] / dh_installcatalogs
index fdaf0fa7609b73d28bd4b020c9ad654dab697d65..c020820cd0d4696f4b4c364004651c0eef036571 100755 (executable)
@@ -17,7 +17,7 @@ B<dh_installcatalogs> [S<I<debhelper options>>] [B<-n>]
 
 =head1 DESCRIPTION
 
-dh_installcatalog is a debhelper program that installs and
+dh_installcatalogs is a debhelper program that installs and
 registers SGML catalogs. (Note: it will be extended for XML catalog
 registration when xml-core is available.)  It complies with the Debian
 XML/SGML policy.
@@ -74,7 +74,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        $fulldest =~ s|//|/|g; # beautification
        
                        if (! -d dirname($fulldest)) {
-                               doit("install","-d","-m755",dirname($dest));
+                               doit("install","-d","-m755",$tmpdir."/".dirname($dest));
                        }
 
                        doit("install","-p","-m644",$source,$fulldest);