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 |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <00d201c1990b$3318fc50$02d42bd4@casanova> |
From: | "David D asi" <dd AT asi DOT fr> |
To: | <cygwin AT cygwin DOT com> |
Subject: | pb with makefile |
Date: | Wed, 9 Jan 2002 13:43:09 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Hi all, I have no problem with the script for REP in `find -type d -name include` ; do sed "s/easyphp/easyphp14/g" < $REP/common.inc.php > $REP/commonlucas.inc.php sed "s/\/tata\//\/tata-conseil\//g" < $REP/commonlucas.inc.php > $REP/common.inc.php rm -f $REP/commonlucas.inc.php done when I put it into a .sh file and execute it. But when trying to make a makefile see it with target lucas, it doesn t work : lucas: for REP in `find -type d -name include` ; do sed "s/easyphp/easyphp14/g" < $REP/common.inc.php > $REP/commonlucas.inc.php sed "s/\/tata\//\/tata-conseil\//g" < $REP/commonlucas.inc.php > $REP/common.inc.php rm -f $REP/commonlucas.inc.php done I make : $>make lucas In this cas I have a syntax error : end of file unexpected (expecting done) make : *** [lucas] Error 2 my make in, under cygwin under windows. thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |