* 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
|
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 |
|
0 | 8 |
gtk+2.0 (2.10.12-2) unstable; urgency=low
|
1 | 9 |
|
2 | 10 |
[ Loic Minier ]
|
142 | 142 |
if (! -d "$basedir/$module_files_d") {
|
143 | 143 |
doit("install", "-d", "$basedir/$module_files_d");
|
144 | 144 |
}
|
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");
|
146 | 146 |
|
147 | 147 |
my $absolute_basedir = make_absolute_path($basedir);
|
148 | 148 |
my $n_lines = 0;
|
|
157 | 157 |
if (m#^\Q"$absolute_basedir/\E#) {
|
158 | 158 |
s#^\Q"$absolute_basedir/\E#"/#;
|
159 | 159 |
}
|
160 | |
complex_doit("echo '$_' >>$module_file");
|
|
160 |
complex_doit("printf '%s\\n' '$_' >>$module_file");
|
161 | 161 |
$n_lines++;
|
162 | 162 |
}
|
163 | 163 |
# nothing written to the module file, fail miserably
|