delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/08/03:44:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <C2D7D58DBFE9D111B0480060086E96350288A75D@mail.gft.de>
From: "Schaible, Joerg" <Joerg DOT Schaible AT gft DOT com>
To: Cygwin mailing list <cygwin AT sources DOT redhat DOT com>
Subject: RE: make and $(shell uname -a)
Date: Wed, 8 Nov 2000 09:44:20 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA05418

Hi John,

[...]
> generates:
> 
> backticks work:
> CYGWIN_NT-5.0 MIZU 1.1.5(0.29/3/2) 2000-11-02 02:01 i686 unknown
> shell doesn't:
> /usr/bin/bash: -c: line 1: syntax error near unexpected token 
> `1.1.5(0'
> /usr/bin/bash: -c: line 1: `echo CYGWIN_NT-5.0 MIZU 
> 1.1.5(0.29/3/2) 2000-11-02 02:01 i686 unknown'
> gmake: *** [test] Error 2
> 
> my question is, should $(shell) work?

Definately yes, look at your output! The error mesage indicates, that GNU
make has substituted $(bar) correctly.
Chris has already shown you the solution.

Greetings,
Jörg

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019