problem with make under cygwin

2004-06-01 Thread bertrand marquis
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

Re: problem with make under cygwin

2004-06-01 Thread Christopher Faylor
On Tue, Jun 01, 2004 at 10:00:21AM +0200, bertrand marquis wrote: 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

Re: problem with make under cygwin

2004-06-01 Thread bertrand marquis
thanks i found also that passing -n to echo solve the problem : HAVE_DEVFS := $(shell grep 'CONFIG_DEVFS_FS=y' ../../linux/.config /dev/null echo -n yes || echo -n no) but thank you, your solution is so much better Christopher Faylor a écrit: On Tue, Jun 01, 2004 at 10:00:21AM +0200,