I just noticed that if you install in /usr/local, you don't get the 06.00.00.00 in the path.
The echo | grep test in create-sdcard returns the full directory name if the numbers are there...
dsp@ubuntu:~/work/sonicSD$ echo /usr/local/ti-sdk-am335x-evm-06.00.00.00 | grep -o '.*ti-sdk.*.[0-9]'
/usr/local/ti-sdk-am335x-evm-06.00.00.00
but if the numbers are not, you get a clipped result.. The directory name is wrong.
dsp@ubuntu:~/work/sonicSD$ echo /usr/local/ti-sdk-am335x-evm | grep -o '.*ti-sdk.*.[0-9]'
/usr/local/ti-sdk-am335
You can see this in "now installing: ti-sdk-am335". the "x-evm" has been dropped by the grep. I think this might have something to do with the problem?