瀏覽代碼

dpkg-source: keep the old output for tools that parse the directory

* 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.
Raphael Hertzog 18 年之前
父節點
當前提交
18a12ddbe9
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      scripts/dpkg-source.pl

+ 5 - 1
scripts/dpkg-source.pl

@@ -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);