AUDIT: r17499 - gnucash/trunk/packaging/win32 - Bug #506873, Win32: Add support for Finance-Quote with ActivePerl 5.10.

Andreas Köhler andi5 at cvs.gnucash.org
Wed Sep 10 12:16:51 EDT 2008


Author: andi5
Date: 2008-09-10 12:16:50 -0400 (Wed, 10 Sep 2008)
New Revision: 17499
Trac: http://svn.gnucash.org/trac/changeset/17499

Modified:
   gnucash/trunk/packaging/win32/install-fq-mods.bat
Log:
Bug #506873, Win32: Add support for Finance-Quote with ActivePerl 5.10.

BP

Modified: gnucash/trunk/packaging/win32/install-fq-mods.bat
===================================================================
--- gnucash/trunk/packaging/win32/install-fq-mods.bat	2008-09-06 18:13:32 UTC (rev 17498)
+++ gnucash/trunk/packaging/win32/install-fq-mods.bat	2008-09-10 16:16:50 UTC (rev 17499)
@@ -17,11 +17,8 @@
 set _perlminor=%errorlevel%
 if %_perlmajor% equ 5 (
   if %_perlminor% equ 10 (
-    echo.
-    echo Found ActivePerl 5.10.  This version does not yet support Finance-Quote.
-    echo Please install ActivePerl 5.8 (http://www.activestate.com/store/activeperl^)
-    echo instead and add the bin directory to your Path environment variable.
-    goto error
+    set _perlversion=5.10
+    goto ccp
   )
   if %_perlminor% equ 8 (
     set _perlversion=5.8
@@ -41,7 +38,11 @@
 
 echo * Install DateManip
 echo.
-perl -x -S ppm install DateManip
+if %_perlversion% == 5.10 (
+  perl -x -S ppm install Date-Manip
+) else (
+  perl -x -S ppm install DateManip
+)
 if %errorlevel% neq 0 goto error
 
 echo.
@@ -49,7 +50,9 @@
 echo.
 set OLDPATH=%PATH%
 set PATH=%CD%;%PATH%
-if %_perlversion% == 5.8 (
+if %_perlversion% == 5.10 (
+  perl -x -S ppm install Crypt-SSLeay
+) else if %_perlversion% == 5.8 (
   echo anything | perl -x -S ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
 ) else (
   perl -x -S ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Crypt-SSLeay.ppd



More information about the gnucash-changes mailing list