[poky] bash: oe-init-build-env: line 33: syntax error near unexpected token `elif'


Elvis Dowson
 

Hi,
The following commit

http://ares/gitweb/?p=tools/poky.git;a=blobdiff;f=oe-init-build-env;h=68af7b5193b73627cd6ebf6196adfa685a787c38;hp=67eddcd295bd9d1adac21fc4e97506fca05f4bfa;hb=813127247a1100b1abe179dfba25795560eac864;hpb=a468b0d5579148771da716eaf357e5d45fc3211c

is causing a build error while sourcing the oe-init-build-env build script

$ cd /tool/yocto/poky;source oe-init-build-env build
: command not found
: command not found
bash: oe-init-build-env: line 33: syntax error near unexpected token `elif'
'ash: oe-init-build-env: line 33: ` elif [ -n "$ZSH_NAME" ]; then

This is on Ubuntu 12.10 x86 64-bit.

Elvis Dowson

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.