~andreas-noteng/checkinstall/lucid

« back to all changes in this revision

Viewing changes to debian/patches/06gettext-newline-fix.diff

  • Committer: Andreas Noteng
  • Date: 2010-03-06 05:34:10 UTC
  • Revision ID: andreas@noteng.no-20100306053410-yiclmtcs830cg5cc
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: checkinstall/checkinstall
 
2
===================================================================
 
3
--- checkinstall.orig/checkinstall      2008-06-25 19:47:09.000000000 -0400
 
4
+++ checkinstall/checkinstall   2008-06-25 19:47:15.000000000 -0400
 
5
@@ -71,9 +71,9 @@
 
6
 
 
7
 ## gettext echo with newline at the end
 
8
 function echog() {
 
9
-   local format="$1\n"
 
10
+   local format="$1"
 
11
    shift
 
12
-   printf -- "$(ck_gettext "$format")" "$@" >&2
 
13
+   printf -- "$(ck_gettext "$format")\n" "$@" >&2
 
14
 }
 
15
 
 
16
 ## gettext echo with NO newline at the end