Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <40BC3795.7030902@sysgo.com>
Date: Tue, 01 Jun 2004 10:00:21 +0200
From: bertrand marquis <bertrand.marquis@sysgo.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.2.1) Gecko/20030225
MIME-Version: 1.0
To: cygwin Mailing List <cygwin@cygwin.com>
Subject: problem with make under cygwin
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on donald.sysgo.com
X-Spam-Level: 
X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no version=2.61
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.25.0.60; VDF: 6.25.0.80; host: mailgate.sysgo.de)

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/

