Explorar o código

dpkg-source: Use print instead of printf if printf is not needed

Frank Lichtenheld %!s(int64=19) %!d(string=hai) anos
pai
achega
ca39b2a4cc
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 3 0
      ChangeLog
  2. 2 2
      scripts/dpkg-source.pl

+ 3 - 0
ChangeLog

@@ -1,5 +1,8 @@
 2007-09-20  Frank Lichtenheld  <djpig@debian.org>
 
+	* scripts/dpkg-sources.pl (version): Don't use
+	printf if we don't need it, use print instead.
+
 	* scripts/dpkg-buildpackage.sh (usage): Fix typo
 	s/dpkg-genchangs/dpkg-genchanges/
 

+ 2 - 2
scripts/dpkg-source.pl

@@ -97,10 +97,10 @@ $SIG{'QUIT'} = \&exit_handler;
 sub version {
     printf _g("Debian %s version %s.\n"), $progname, $version;
 
-    printf _g("
+    print _g("
 Copyright (C) 1996 Ian Jackson and Klee Dienes.");
 
-    printf _g("
+    print _g("
 This is free software; see the GNU General Public Licence version 2 or
 later for copying conditions. There is NO warranty.
 ");