httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/support apxs.in
Date Fri, 02 Nov 2001 20:09:21 GMT
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;
               }
  
  
  

Mime
View raw message