r16013 - gnucash/trunk/packaging/win32 - Add gnc-fq-helper and TZ environment variable test to install-fq-mods.bat.

Andreas Köhler andi5 at cvs.gnucash.org
Sat Apr 28 11:28:45 EDT 2007


Author: andi5
Date: 2007-04-28 11:28:44 -0400 (Sat, 28 Apr 2007)
New Revision: 16013
Trac: http://svn.gnucash.org/trac/changeset/16013

Modified:
   gnucash/trunk/packaging/win32/install-fq-mods.bat
Log:
Add gnc-fq-helper and TZ environment variable test to install-fq-mods.bat.

Set TZ to UTC if unset and download a price.


Modified: gnucash/trunk/packaging/win32/install-fq-mods.bat
===================================================================
--- gnucash/trunk/packaging/win32/install-fq-mods.bat	2007-04-28 11:17:16 UTC (rev 16012)
+++ gnucash/trunk/packaging/win32/install-fq-mods.bat	2007-04-28 15:28:44 UTC (rev 16013)
@@ -33,7 +33,20 @@
 perl -w gnc-fq-check
 if %errorlevel% neq 0 goto error
 
+set OLDTZ=%TZ%
+set TZ
+if %errorlevel% neq 1 goto cfqh
+set TZ=UTC
+:cfqh
 echo.
+echo * Run gnc-fq-helper
+echo.
+echo (yahoo "AMZN") | perl -w gnc-fq-helper
+set errlvlbak=%errorlevel%
+set TZ=%OLDTZ%
+if %errlvlbak% neq 0 goto error
+
+echo.
 echo * Installation succeeded
 echo.
 goto end



More information about the gnucash-changes mailing list