Hi Jamey
On 11/16/2015 11:48 AM, Jamey Sharp wrote:
Hi!
On Nov 15, 2015 9:29 PM, "Reinier Millo Sánchez" <rmillo@...210... mailto:rmillo@...210...> wrote:
find . -name "*.C" -exec rename 's/.C$/.cpp/' '{}' ;
I have tried something like this on the port file:
CMD := `find . -name "*.C" -exec rename 's/.C$/.cpp/' '{}' ;`
default: ${CMD}
I'm not sure if this is the (only) issue, but the back-quotes look fishy to me. Does this fix your issue?
I have tested the port file without quotes:
CMD := find . -name "*.C" -exec rename 's/.C$/.cpp/' '{}' ;
but get the same results. The .C extension not change.
Best regards