The first line of the adt_installer script (http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/installer/adt-installer/adt_installer) is wrong. It reads "#/bin/bash" but it should be "#!/bin/bash". The script works if you use bash as shell. However, if you use some other shell, like zsh, it will fail with an error.
commit 0ef08c4593c7a7a0620c82cfa253a255f8fe0b67
Verified. #!/bin/bash is used.