]> err.no Git - dpkg/commitdiff
dpkg-source: keep the old output for tools that parse the directory
authorRaphael Hertzog <hertzog@debian.org>
Wed, 19 Mar 2008 21:38:09 +0000 (22:38 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Wed, 19 Mar 2008 21:38:09 +0000 (22:38 +0100)
* scripts/dpkg-source.pl: Old version of lintian and sbuild do parse the
output of dpkg-source to find the name of the unpacked directory. Thus
keep the old output for this precise string until the tools get fixed.

scripts/dpkg-source.pl

index eba1fbe09103b50d8f8fbc8c546940b2139a5eb9..b841ef0fd80bccd86c9528b3e00661d2999db0de 100755 (executable)
@@ -317,7 +317,11 @@ if ($options{'opmode'} eq 'build') {
     }
 
     # Unpack the source package (delegated to Dpkg::Source::Package::*)
-    info(_g("extracting %s in %s"), $srcpkg->{'fields'}{'Source'}, $newdirectory);
+    #XXX: we have to keep the old output until sbuild stop parsing
+    # dpkg-source's output
+    #info(_g("extracting %s in %s"), $srcpkg->{'fields'}{'Source'}, $newdirectory);
+    printf(_g("%s: extracting %s in %s")."\n", $progname,
+           $srcpkg->{'fields'}{'Source'}, $newdirectory);
     $srcpkg->extract($newdirectory);
 
     exit(0);