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) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. > > -- > Simon Paillard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org