Currently the script returns the return value of "cd ../.." which is not really interesting for a build. The attached patch makes it fail if the make command failed.
Created attachment 14154 [details] patch
Landed in r21066.