Add missing whitespace between arguments in system() command

This commit is contained in:
Johannes Schauer 2016-12-24 02:34:19 +01:00 committed by Johannes 'josch' Schauer
parent 6b7510ae2f
commit 0dc5ce4019
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
multistrap (2.2.8) UNRELEASED; urgency=medium
* Add missing whitespace between arguments in system() command
-- Johannes Schauer <josch@debian.org> Sat, 24 Dec 2016 02:33:48 +0100
multistrap (2.2.7) unstable; urgency=medium multistrap (2.2.7) unstable; urgency=medium
* Since bash completion was moved away from /etc, invoke rm_conffile in * Since bash completion was moved away from /etc, invoke rm_conffile in

View file

@ -973,7 +973,7 @@ sub native {
closedir (SEEDS); closedir (SEEDS);
foreach my $s (@seeds) { foreach my $s (@seeds) {
printf (_g("I: Running debconf for seed file: %s\n"), $s); printf (_g("I: Running debconf for seed file: %s\n"), $s);
system ("$str $env chroot" . shellescape($dir) . " debconf-set-selections /tmp/preseeds/$s"); system ("$str $env chroot " . shellescape($dir) . " debconf-set-selections /tmp/preseeds/$s");
} }
} }
&run_native_hooks_start(sort @{$hooks{'N'}}) if (defined ($hooks{'N'})); &run_native_hooks_start(sort @{$hooks{'N'}}) if (defined ($hooks{'N'}));
@ -988,7 +988,7 @@ sub native {
$t =~ s/\.preinst//; $t =~ s/\.preinst//;
next if ($t =~ /$f/); next if ($t =~ /$f/);
next if ($script =~ /bash/); next if ($script =~ /bash/);
system ("$str $env chroot" . shellescape($dir) . " /var/lib/dpkg/info/$script install"); system ("$str $env chroot " . shellescape($dir) . " /var/lib/dpkg/info/$script install");
} }
} }
my $retval = 0; my $retval = 0;