You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/02/21 15:32:45 UTC

svn commit: r1291810 - /subversion/trunk/build/generator/gen_win.py

Author: rhuijben
Date: Tue Feb 21 14:32:45 2012
New Revision: 1291810

URL: http://svn.apache.org/viewvc?rev=1291810&view=rev
Log:
* build/generator/gen_win.py
  (_find_perl): Following up on r1291797, fix the invocation of perl
    to actually retrieve the requested information.

Modified:
    subversion/trunk/build/generator/gen_win.py

Modified: subversion/trunk/build/generator/gen_win.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_win.py?rev=1291810&r1=1291809&r2=1291810&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_win.py (original)
+++ subversion/trunk/build/generator/gen_win.py Tue Feb 21 14:32:45 2012
@@ -1270,8 +1270,8 @@ class WinGeneratorBase(GeneratorBase):
     finally:
       fp.close()
       
-    fp = os.popen('perl -e ' + escape_shell_arg(
-                  '"print $Config{archlib}"'), 'r')
+    fp = os.popen('perl -MConfig -e ' + escape_shell_arg(
+                  'print $Config{archlib}'), 'r')
     try:
       line = fp.readline()
       if line: