retitle 573559 some output strings not interpolated
tags 573559 patch
thanks

Hi,

> printf instead of print should be called in line 448 of svn-buildpackage.

Confirmed, and there's another instance. Attached patch fixes them.


cheers,
Thijs
--- svn-buildpackage.orig	2010-03-21 15:26:02.000000000 +0100
+++ svn-buildpackage	2010-03-21 15:25:28.000000000 +0100
@@ -445,7 +445,7 @@
 
 if(!$opt_reuse && -e "$bdir") {
    my $backupNr=rand;
-   print STDERR (_g("%s exists, renaming to %s\n"),
+   printf STDERR (_g("%s exists, renaming to %s\n"),
      $bdir, "$bdir.obsolete.$backupNr");
    rename("$bdir","$bdir.obsolete.$backupNr");
 }
@@ -490,7 +490,7 @@
       print _g(" - copying the tarball to the expected destination file\n");
    }
    else {
-      print (_g("W: %s not found, expect problems...\n"), $abs_origfile) if(! -e $abs_origfile);
+      printf (_g("W: %s not found, expect problems...\n"), $abs_origfile) if(! -e $abs_origfile);
    }
    if($origfile && -e $abs_origfile) {
       if(-e $orig_target) {

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to