On Wed, Sep 07, 2011 at 10:06:18AM +0800, ftpadm wrote:
> On Tue, 6 Sep 2011 21:18:33 +0200, Simon Paillard wrote
> > On Tue, Sep 06, 2011 at 10:56:18PM +0800, ftpadm wrote:
> > >   When I use ftpsync, I have a
>  problem. I edited the ftpsync.conf, then
> > > executed the bin/ftpsync, but the script show the following
> > > message,"bin/ftpsync: ${BASH_VERSINFO[...}: Bad substitution". My 
> > > Operating
> > > System is FreeBSD, using tcsh. But, I created a user with Bash. The user 
> > > with
> > > Bash to execute bin/ftpsync, then I have the same problem.
> > 
> > There is no need to have bash as default shell, just to have it installed.
> > 
> > What gives you the following command ?
> > /bin/bash --version 2>/dev/null
> the following message display when I executed the above command.
> 
> GNU bash, version 4.1.11(1)-release (i386-portbld-freebsd8.2)

What gives:
bash
"echo ${BASH_VERSINFO[0]}"

this line fails on your system, for a unknown reason. 

-- 
Simon Paillard



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to