Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 73219 invoked by uid 500); 3 Jun 2002 12:29:59 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 73206 invoked from network); 3 Jun 2002 12:29:58 -0000 Mime-Version: 1.0 X-Sender: jimpop@devsys.jagunet.com Message-Id: In-Reply-To: <3CF9DCF6.E8FA5D3F@wapme-systems.de> References: <3CF73E70.DD6B3ED6@wapme-systems.de> <3CF9DCF6.E8FA5D3F@wapme-systems.de> Date: Mon, 3 Jun 2002 08:29:53 -0400 To: dev@httpd.apache.org From: Jim Jagielski Subject: Re: [PATCH] 1.3: Cygwin specific changes to the build process Cc: Stipe Tolj Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 10:53 AM +0200 6/2/02, Stipe Tolj wrote: >Jim Jagielski wrote: >> >> At 11:12 AM +0200 5/31/02, Stipe Tolj wrote: >> >diff -ur apache-1.3/src/helpers/install.sh apache-1.3-cygwin/src/helpers/install.sh >> >--- apache-1.3/src/helpers/install.sh Tue Jun 12 10:24:53 2001 >> >+++ apache-1.3-cygwin/src/helpers/install.sh Tue May 28 11:15:10 2002 >> >@@ -89,12 +89,8 @@ >> > >> > # Check if we need to add an executable extension (such as ".exe") >> > # on specific OS to src and dst >> >-if [ -f "$src.exe" ]; then >> >- if [ -f "$src" ]; then >> >- : # Cygwin [ test ] is too stupid to do [ -f "$src.exe" ] && [ ! -f "$src" ] >> >- else >> >- ext=".exe" >> >- fi >> >+if [ -f "$src.exe" ] && [ ! -f "$src." ]; then >> >+ ext=".exe" >> > fi >> > src="$src$ext" >> > dst="$dst$ext" >> >> Why the above change?? If [] is fixed, what about backwards compatibility? > >the problem is Cygwin's behaviour for the -f shell condition. I'll >check if I can solve it on another way. > It's just that the comment in the present tree specifically says that what it's being changed to doesn't work, so I'm wondering why it *is* working now. -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson