This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F2274: Running a pre-build shell script in Windows

Part Number: MSP430F2274

Hi, I want to run a pre-build shell script to inject version information (from git) and which build machine it is done on, however when CCS tries to run my script it gets... 

sh Y:/work/micro/bbpa/bbpa01/update_version.sh Y:/work/micro/bbpa/bbpa01
makefile:171: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, sh Y:/work/micro/bbpa/bbpa01/update_version.sh Y:/work/micro/bbpa/bbpa01, ...) failed.

The real weird thing is that if I open cmd.exe and go to Y:/work/micro/bbpa/bbpa01/Debug and run "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k all (which is what CCS says it runs) then the script runs and it builds fine..

The script runs fine in CCS under OSX.

**Attention** This is a public forum