Judging by the link you posted, I suspect you added the boot codes on separate lines. Make it so that all boot codes (after APPEND) are on the same line.
Not sure why the getBuild function is not present in your shell but that may be normal.
Not sure why the getBuild function is not present in your shell but that may be normal.