delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/12/08:43:48

X-Spam-Check-By: sourceware.org
Message-ID: <457EB22A.40903@byu.net>
Date: Tue, 12 Dec 2006 06:44:10 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: another cygport patch
References: <457EB0AF DOT 4080307 AT byu DOT net>
In-Reply-To: <457EB0AF.4080307@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 12/12/2006 6:37 AM:
> Cygport currently makes it impossible to pass arguments to ./configure
> that contain a space.  I need this for building autogen.
> 
> 2006-12-12  Eric Blake  <ebb9 AT byu DOT net>
> 
> 	* cygport (cygconf): Preserve shell metacharacters in args.

Better version (verbose had the same bug):

- --- /bin/cygport.orig   2006-12-12 06:35:36.865000000 -0700
+++ /bin/cygport        2006-12-12 06:40:19.661875000 -0700
@@ -141,7 +141,7 @@
 # displays command to stdout before execution
 verbose() {
        echo "${@}"
- -       ${@}
+       "${@}"
 }

 # for internal use only
@@ -753,7 +753,7 @@
        export ac_cv_func_mmap_fixed_mapped=yes;

        verbose ${confdir}/configure --srcdir="${confdir}" ${confargs} \
- -               ${@} ${CYGCONF_ARGS} || error "configure failed"
+               "${@}" ${CYGCONF_ARGS} || error "configure failed"
 }

 # standard GNU make call


- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFfrIq84KuGfSFAYARAvaAAJ0c/FwGpUaguiNj3/OfPljseFpnuQCfZ/FW
Q9EIjr8wBl1jfEM5H9T3DA0=
=c0NY
-----END PGP SIGNATURE-----

--
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/

- Raw text -


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