Codebase list gtk+2.0 / 416f252
* 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. Loïc Minier 16 years ago
2 changed file(s) with 10 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 gtk+2.0 (2.10.12-3) UNRELEASED; urgency=low
1
2 * Use printf instead of echo in dh_gtkmodules to write to write data to
3 files in complex_doit() calls as dash's echo will always honor escape
4 sequences.
5
6 -- Loic Minier <lool@dooz.org> Sun, 27 May 2007 19:11:30 +0200
7
08 gtk+2.0 (2.10.12-2) unstable; urgency=low
19
210 [ Loic Minier ]
142142 if (! -d "$basedir/$module_files_d") {
143143 doit("install", "-d", "$basedir/$module_files_d");
144144 }
145 complex_doit("echo '# automatically generated by dh_gtkmodules, do not edit' >>$module_file");
145 complex_doit("printf '%s\\n' '# automatically generated by dh_gtkmodules, do not edit' >>$module_file");
146146
147147 my $absolute_basedir = make_absolute_path($basedir);
148148 my $n_lines = 0;
157157 if (m#^\Q"$absolute_basedir/\E#) {
158158 s#^\Q"$absolute_basedir/\E#"/#;
159159 }
160 complex_doit("echo '$_' >>$module_file");
160 complex_doit("printf '%s\\n' '$_' >>$module_file");
161161 $n_lines++;
162162 }
163163 # nothing written to the module file, fail miserably