Hello, On Thu, Aug 17, 2006 at 05:17:39PM +0200, Samuel Mimram wrote: > Hi, > > Jérémie Corbier wrote: > > On Thu, Aug 17, 2006 at 04:47:14AM -0700, Samuel Mimram wrote: > >> Source: mldonkey > >> Source-Version: 2.7.7-7 > >> > >> We believe that the bug you reported is fixed in the latest version of > >> mldonkey > > > > Unfortunately it is not fixed. > > > > [EMAIL PROTECTED]:~/ubuntu/mldonkey-2.7.7$ dash -n > > debian/utils/mldonkey_create_chroot > > debian/utils/mldonkey_create_chroot: 167: Syntax error: Bad substitution > > Hmmm. That's strange. I'm pretty sure that this script was passing the > dash -n test after I modified it last time. > > > AFAIK POSIX shells don't support array variables and "declare -a" is a > > bashism > > too. > > > > You can either change sh to bash in the shebang or try to find another > > solution. I have chosen the first alternative as a temporary fix for the > > Ubuntu package. > > I'll go for the #!/bin/bash solution. Anyway, this script is not used > since I think that the support for the chroot jail has never been > finalized. Maybe the best solution is simply to drop this script for > now. Sylvain, what do you think? > > Cheers, > > Samuel. >
I don't think the #!/bin/bash solution is good : i really prefer to have it work with standard sh. Maybe, you should contact upstream author of the script (who do a great job last time i contact him) to see if he can fix it. You will find his name in the script itself (i think it is Mick Kappenburg). I propose to remove it until Mick find a solution... Kind regard Sylvain Le Gall

