Parcourir la source

dpkg-source: switch to standard info() function for output

All buildd should use an updated sbuild by now, we can update the
format of dpkg-source's output without problems.
Raphael Hertzog il y a 17 ans
Parent
commit
5b0024349d
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 1 5
      scripts/dpkg-source.pl

+ 1 - 5
scripts/dpkg-source.pl

@@ -336,11 +336,7 @@ if ($options{'opmode'} eq 'build') {
     }
     }
 
 
     # Unpack the source package (delegated to Dpkg::Source::Package::*)
     # Unpack the source package (delegated to Dpkg::Source::Package::*)
-    #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);
+    info(_g("extracting %s in %s"), $srcpkg->{'fields'}{'Source'}, $newdirectory);
     $srcpkg->extract($newdirectory);
     $srcpkg->extract($newdirectory);
 
 
     exit(0);
     exit(0);