r11160 - in /desktop/unstable/gtk+2.0/debian: changelog dh_gtkmodules.in

lool at users.alioth.debian.org lool at users.alioth.debian.org
Sun May 27 17:11:52 UTC 2007


Author: lool
Date: Sun May 27 17:11:52 2007
New Revision: 11160

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11160
Log:
* Use printf instead of echo in dh_gtkmodules to write to write data to
  files in complex_doit() calls as dash's echo will always honor escape
  sequences.

Modified:
    desktop/unstable/gtk+2.0/debian/changelog
    desktop/unstable/gtk+2.0/debian/dh_gtkmodules.in

Modified: desktop/unstable/gtk+2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/changelog?rev=11160&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/changelog (original)
+++ desktop/unstable/gtk+2.0/debian/changelog Sun May 27 17:11:52 2007
@@ -1,3 +1,11 @@
+gtk+2.0 (2.10.12-3) UNRELEASED; urgency=low
+
+  * Use printf instead of echo in dh_gtkmodules to write to write data to
+    files in complex_doit() calls as dash's echo will always honor escape
+    sequences.
+
+ -- Loic Minier <lool at dooz.org>  Sun, 27 May 2007 19:11:30 +0200
+
 gtk+2.0 (2.10.12-2) unstable; urgency=low
 
   [ Loic Minier ]

Modified: desktop/unstable/gtk+2.0/debian/dh_gtkmodules.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/dh_gtkmodules.in?rev=11160&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/dh_gtkmodules.in (original)
+++ desktop/unstable/gtk+2.0/debian/dh_gtkmodules.in Sun May 27 17:11:52 2007
@@ -143,7 +143,7 @@
     if (! -d "$basedir/$module_files_d") {
         doit("install", "-d", "$basedir/$module_files_d");
     }
-    complex_doit("echo '# automatically generated by dh_gtkmodules, do not edit' >>$module_file");
+    complex_doit("printf '%s\\n' '# automatically generated by dh_gtkmodules, do not edit' >>$module_file");
 
     my $absolute_basedir = make_absolute_path($basedir);
     my $n_lines = 0;
@@ -158,7 +158,7 @@
         if (m#^\Q"$absolute_basedir/\E#) {
             s#^\Q"$absolute_basedir/\E#"/#;
         }
-        complex_doit("echo '$_' >>$module_file");
+        complex_doit("printf '%s\\n' '$_' >>$module_file");
         $n_lines++;
     }
     # nothing written to the module file, fail miserably




More information about the pkg-gnome-commits mailing list