Remove quotes from variable text

Posted by ads' corner on Saturday, 2007-01-27
Posted in [Make]

Just got the problem that a variable I want to substitute in a Makefile has quotes around the actual content. Thats bad, since this will break my script. I need to remove the quotes right before substituting the text:

sed -i -e 's/STRING_TO_REPLACE/$(subst ",,$(CFLAGS))/g' FILE_TO_USE

Categories: [Make]
Tags: [Makefile]