Author: ryan
Date: 2009-10-18 21:31:48 +0000 (Sun, 18 Oct 2009)
New Revision: 2015
Modified:
trunk/debian/changelog
trunk/scripts/mk-build-deps.pl
Log:
mk-build-deps: allow passing options to the command in
MKBUILDDEPS_TOOL. Setting MKBUILDDEPS_TOOL="aptitude --schedule-
only" in ~/.devscripts should work now. (Closes: #547164)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-10-18 21:17:02 UTC (rev 2014)
+++ trunk/debian/changelog 2009-10-18 21:31:48 UTC (rev 2015)
@@ -19,8 +19,11 @@
[ Ryan Niebur ]
* add w3m to suggests for grep-excuses -w, check for it at runtime too
(Closes: #551516)
+ * mk-build-deps: allow passing options to the command in
+ MKBUILDDEPS_TOOL. Setting MKBUILDDEPS_TOOL="aptitude --schedule-
+ only" in ~/.devscripts should work now. (Closes: #547164)
- -- Ryan Niebur <[email protected]> Sun, 18 Oct 2009 14:14:25 -0700
+ -- Ryan Niebur <[email protected]> Sun, 18 Oct 2009 14:31:42 -0700
devscripts (2.10.55) unstable; urgency=high
Modified: trunk/scripts/mk-build-deps.pl
===================================================================
--- trunk/scripts/mk-build-deps.pl 2009-10-18 21:17:02 UTC (rev 2014)
+++ trunk/scripts/mk-build-deps.pl 2009-10-18 21:31:48 UTC (rev 2015)
@@ -204,6 +204,8 @@
}
+use Text::ParseWords;
+
if ($opt_install) {
for my $package (@packages) {
my $file = glob "${package}-build-deps_*.deb";
@@ -211,7 +213,7 @@
}
system 'dpkg', '--unpack', @deb_files;
- system $install_tool, '-f', 'install';
+ system shellwords($install_tool), '-f', 'install';
if ($opt_remove) {
foreach my $file (@deb_files) {
--
To unsubscribe, send mail to [email protected].