[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Re: Using Petalinux instead of uClinux
On Wed, Apr 04, 2007 at 12:16:39PM +0200, Lancer Evo wrote:
> I'm using the bash shell.
> When I run the source command, this is the answer:
>
> # cd /usr/src/petalinux/
> root@Notebook_Lancer:/usr/src/petalinux# source ./settings.sh
> basename: invalid option -- b
> Try `basename --help' for more information.
> -bash: [: ==: unary operator expected
> PetaLinux environment set to '/usr/src/petalinux'
>
> Is it a problem (basename)?
I've seen this too. My workaround was to run 'bash' before sourcing
the settings script. I was already running bash, but for some reason,
the environment (perhaps $0?) wasn't quite what the settings script
expected...
--
Jack Whitham
jack@xxxxxxxxxxxxx
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/