r7388 - in branches/udev_update/BOOK: chapter01 chapter06

M.Canales.es manuel at linuxfromscratch.org
Mon Feb 20 11:17:40 PST 2006


El Lunes, 20 de Febrero de 2006 08:48, Matthew Burgess escribió:

> Yeah, and when I scripted it I forgot to escape the '$' in my Makefile
> too!  I wonder whether there's a facility in jhalfs to not expand shell
> variables?  If not, I think I'll raise an enhancement request :-)

It don't work from the command line for me:

macana at sandbox:~$ cat >> test << EOF
> RUN+="/sbin/modprobe $modalias"
> EOF
macana at sandbox:~$ cat test
RUN+="/sbin/modprobe "

But this work in both command line and using a script (i.e., like jhalfs do):

cat >> test << EOF
RUN+="/sbin/modprobe \$modalias"
EOF


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org



More information about the lfs-book mailing list