On Tuesday 07 February 2006 15:16, Neil Bothwick wrote: > The example is wrong, because the variables are resolved when the conf > file is sources. You need to put the whole command in single quotes, or > escape the $ signs. >
Sooo... /etc/make.conf.example contains this example: #PORTAGE_ELOG_COMMAND="/path/to/logprocessor -p '${PACKAGE}' -f '${LOGFILE}'" This is a bug, right? Should be: #PORTAGE_ELOG_COMMAND="/path/to/logprocessor -p '\${PACKAGE}' -f '\${LOGFILE}'" Right? > PORTAGE_ELOG_COMMAND='echo >>/mnt/scratch/logprocessor -p ${PACKAGE} -f > ${LOGFILE}' > will do what you want. > I don't quite understand this command but nevertheless it works. And so does escaping the $ signs. > Your mail problem is addressed at > http://bugs.gentoo.org/show_bug.cgi?id=116637 Before I close this thread (now that I can get mails using the custom module), I would like to know whether someway knows an easy way in which to apply the patch proposed in the bug #116637? But anyway, the custom module does work so thanks Neil. :D -- Bo Andresen -- gentoo-user@gentoo.org mailing list