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...