delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dk AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: zsh & make |
Date: | Tue, 27 Apr 2004 16:55:46 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <8939161.1083079644899.JavaMail.sargon@mac.com> |
Message-ID: | <NUTMEG5Vf6c3LBzsBIy00000049@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 27 Apr 2004 15:55:46.0578 (UTC) FILETIME=[1A801F20:01C42C70] |
> -----Original Message----- > From: cygwin-owner On Behalf Of Daniel Clausen > Sent: 27 April 2004 16:27 > When building my project with make under zsh and looking at its > build-log afterwards, I noticed that the following error occured: > > [begin error] > gmake[5]: Entering directory > `/c/work/Projects/XYZ/categories/TrxTables/unittest' > basename: too few arguments > Try `basename --help' for more information. > (last two lines repeated 8 times) > [end error] > > > We use 'basename' only in one place in the Makefiles and it looks > like this: > > COMPONENT_NAME = $(shell basename `pwd`) > Any idea how to debug this further? For debugging it, you might be able to get something useful like this: > COMPONENT_NAME = $(shell basename `pwd | tee i-was-here-.txt`) Which should at least tell you exactly how it's getting invoked. Or you could try > COMPONENT_NAME = $(shell echo basename `pwd` > command-was-this.txt && basename `pwd`) ..or any number of similar variants. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |