tadpol / vimrc

My vimrc and stuff
1 stars 0 forks source link

buildwithIAR.vim syntax error #2

Open yankee14 opened 6 years ago

yankee14 commented 6 years ago

I'm having trouble tracking down exactly how to fix this error:

/bin/bash: -c: line 0: syntax error near unexpected token (' /bin/bash: -c: line 0:"C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\common\bin\IarBuild.exe" /cygdrive/c/blah blah (2).ewp -make Debug -log all 2>&1| tee /tmp/vbPNZsx/1'

I think the error comes from the parentheses in the .ewp filename, so maybe the whole second argument should be wrapped in quotes also?

Using Cygwin

tadpol commented 6 years ago

huh. could be. Its been a couple years since I've been on a project using IAR.

tadpol commented 6 years ago

maybe change line 80 to:

let buildcmd += ['"' . projectfile . '"']