]> err.no Git - dpkg/commitdiff
dpkg-buildpackage: Pass $text to sprintf instead of _g
authorGuillem Jover <guillem@debian.org>
Wed, 17 Oct 2007 22:35:26 +0000 (01:35 +0300)
committerGuillem Jover <guillem@debian.org>
Wed, 17 Oct 2007 22:35:26 +0000 (01:35 +0300)
ChangeLog
scripts/dpkg-buildpackage.pl

index 4afd023e432d9ee490eef4a2cbd5220d4c11b43c..1b4e1958bd520a7c2c00dea67dbf50d26763f80e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-18  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-buildpackage.pl (mustsetvar): Pass $text to sprintf
+       instead of _g.
+
 2007-10-15  Raphael Hertzog  <hertzog@debian.org>
 
        * scripts/Dpkg/Version.pm: fix compare_versions to handle properly
index 579c1988003c17c24af311a5c8d98197120333dd..578dc717cafc1dd9f2dc742667fffc57fc81626a 100755 (executable)
@@ -266,7 +266,7 @@ close CHANGELOG or subprocerr('dpkg-parsechangelog');
 sub mustsetvar {
     my ($var, $text) = @_;
 
-    error(sprintf(_g("unable to determine %s", $text)))
+    error(sprintf(_g("unable to determine %s"), $text))
        unless defined($var);
 
     print "$progname: $text $var\n";