The following commit has been merged in the master branch:
commit 2043a32dd872b52f7548f11c4b08d8024160ec28
Author: James Vega <[email protected]>
Date: Thu Dec 2 20:36:45 2010 -0500
debuild: Properly quote shell variable when parsing options.
Closes: #556248
Signed-off-by: James Vega <[email protected]>
diff --git a/debian/changelog b/debian/changelog
index 4348154..ad4b82a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+devscripts (2.10.70) UNRELEASED; urgency=low
+
+ * debuild: Properly quote shell variable when parsing options. (Closes:
+ #556248)
+
+ -- James Vega <[email protected]> Thu, 02 Dec 2010 20:27:34 -0500
+
devscripts (2.10.69) unstable; urgency=low
[ James Vega ]
diff --git a/scripts/debuild.pl b/scripts/debuild.pl
index 7c2a786..cedd7d2 100755
--- a/scripts/debuild.pl
+++ b/scripts/debuild.pl
@@ -274,7 +274,7 @@ if (@ARGV and $ARGV[0] =~ /^--no-?conf$/) {
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 printf "%s\n" $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
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].