ot;Douglas Thrift via freebsd-ports"
Betreff: Re: sed dollar sign substitution in Makefile
Hi, > On 6. Nov 2018, at 9:12 PM, Oliver Mahmoudi wrote: > > Therefore, in
Makefile I set: ${REINPLACE_CMD} 's|print $1|print $4|g' file_to_be_changed In
make commands you need to escape
Hi,
> On 6. Nov 2018, at 9:12 PM, Oliver Mahmoudi wrote:
>
> Therefore, in Makefile I set: ${REINPLACE_CMD} 's|print $1|print $4|g'
> file_to_be_changed
In make commands you need to escape $ as $$ to be able to pass it to the shell.
Cheers,
Franco
Hello,
I am currently working on a port, where I need to make the following sed
substitution in Makefile: turn "print $1" into "print $4".
Therefore, in Makefile I set: ${REINPLACE_CMD} 's|print $1|print $4|g'
file_to_be_changed
However, when invoking the build with make, the shell never perfo
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"