Martin Michlmayr <[EMAIL PROTECTED]> writes: > * Roger Leigh <[EMAIL PROTECTED]> [2006-07-15 17:35]: >> Please could you try applying the attached patch to >> /usr/share/perl5/Sbuild/Chroot.pm? This should do the trick. > > I'm afraid this doesn't help.
Could you try this one instead? -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please sign and encrypt your mail.
Index: Sbuild/Chroot.pm =================================================================== --- Sbuild/Chroot.pm (revision 867) +++ Sbuild/Chroot.pm (working copy) @@ -248,7 +248,7 @@ if ($Sbuild::Conf::chroot_mode eq "schroot") { $cmdline = "$Sbuild::Conf::schroot -c $schroot_session --run-session $Sbuild::Conf::schroot_options -u $user -p -- /bin/sh -c '$command'"; } else { - $cmdline = "$Sbuild::Conf::sudo /usr/sbin/chroot $$current{'Location'} $Sbuild::Conf::su -p $user -c '$command'"; + $cmdline = "$Sbuild::Conf::sudo /usr/sbin/chroot $$current{'Location'} $Sbuild::Conf::su -p $user -s /bin/sh -c '$command'"; } } else { # Run command outside chroot if ($user ne $Sbuild::Conf::username) {
pgpUvv4jIjz6w.pgp
Description: PGP signature