Hello

   i'm having a strange problem with the make command and shell.

i try to run a makefile with this :
HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config &> /dev/null && echo "yes" || echo "no")


the shell command is working out of a makefile but in the makefile the HAVE_DEVFS variable only contain the output of the grep command. Does anyone know why it doesn't work ?

I'm using make 3.80-1 on windows 2000

thanks


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/



Reply via email to