Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 90172 invoked by uid 500); 2 Nov 2001 20:19:36 -0000 Mailing-List: contact cvs-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 cvs@httpd.apache.org Received: (qmail 90161 invoked by uid 500); 2 Nov 2001 20:19:36 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 2 Nov 2001 20:09:21 -0000 Message-ID: <20011102200921.16254.qmail@icarus.apache.org> From: dougm@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/support apxs.in X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N dougm 01/11/02 12:09:21 Modified: support apxs.in Log: fix eval of vars incase string has quotes example: CFLAGS = -DSUEXEC_BIN='"bin/suexec" Revision Changes Path 1.29 +2 -2 httpd-2.0/support/apxs.in Index: apxs.in =================================================================== RCS file: /home/cvs/httpd-2.0/support/apxs.in,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- apxs.in 2001/09/23 18:01:15 1.28 +++ apxs.in 2001/11/02 20:09:20 1.29 @@ -262,7 +262,7 @@ ? $config_vars{$arg} : $config_vars{lc $arg}; $val =~ s/[()]//g; - $result .= eval qq("$val"); + $result .= eval "qq($val)"; $result .= ";;"; $ok = 1; } @@ -270,7 +270,7 @@ if (exists $internal_vars{$arg} or exists $internal_vars{lc $arg}) { my $val = exists $internal_vars{$arg} ? $arg : lc $arg; $val = eval "\$CFG_$val"; - $result .= eval qq("$val"); + $result .= eval "qq($val)"; $result .= ";;"; $ok = 1; }