Author: adsb
Date: 2009-05-05 18:04:25 +0000 (Tue, 05 May 2009)
New Revision: 1876
Modified:
trunk/debian/changelog
trunk/scripts/debuild.pl
Log:
debuild: Use printf when parsing the DEBUILD_LINTIAN_OPTS configuration
file variable, to avoid eating -E. (Closes: #527027)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-05-02 21:56:55 UTC (rev 1875)
+++ trunk/debian/changelog 2009-05-05 18:04:25 UTC (rev 1876)
@@ -2,6 +2,8 @@
* debchange: Add karmic (koala) to the list of recognised Ubuntu
distributions.
+ * debuild: Use printf when parsing the DEBUILD_LINTIAN_OPTS configuration
+ file variable, to avoid eating -E. (Closes: #527027)
* rc-alert: Use standard single quotes in the debtags section of the manpage
to avoid odd formatting and warnings from man
Modified: trunk/scripts/debuild.pl
===================================================================
--- trunk/scripts/debuild.pl 2009-05-02 21:56:55 UTC (rev 1875)
+++ trunk/scripts/debuild.pl 2009-05-05 18:04:25 UTC (rev 1876)
@@ -276,7 +276,7 @@
foreach my $var ($dpkg_opts_var, $lintian_opts_var) {
$shell_cmd .= "eval set -- \$$var;\n";
$shell_cmd .= "echo \">>> $var BEGIN <<<\";\n";
- $shell_cmd .= 'while [ $# -gt 0 ]; do echo $1; shift; done;' . "\n";
+ $shell_cmd .= 'while [ $# -gt 0 ]; do printf "%s\n" $1; shift; done;' .
"\n";
$shell_cmd .= "echo \">>> $var END <<<\";\n";
}
# Not totally efficient, but never mind
--
To unsubscribe, send mail to [email protected].