]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_gencontrol
r472: * Fixed issues with extended parameters to dh_gencontrol including spaces
[debhelper.git] / dh_gencontrol
index d1fdd943ad28ea8ce6bb489678b4234ccc84e3d5..bb39780cb4dd3369dddf0ba0de4f6b5cf74c511f 100755 (executable)
@@ -52,9 +52,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN");
        }
 
-       # Generate and install control file.
+       # Generate and install control file. Use complex_doit to allow for
+       # wild and wonderful U_PARAMS quoting.
        doit("dpkg-gencontrol","-l$changelog","-isp","-p$package",
-               "-Tdebian/${ext}substvars","-P$tmp",@{$dh{U_PARAMS}});
+                    "-Tdebian/${ext}substvars","-P$tmp",@{$dh{U_PARAMS}});
 
        # This chmod is only necessary if the user sets the umask to something odd.
        doit("chmod","644","$tmp/DEBIAN/control");