[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/doc-base/trunk/scripts/_build-chms.php?=
From:       Richard_Quadling <rquadling () php ! net>
Date:       2011-05-26 16:25:17
Message-ID: svn-rquadling-1306427117-311449-82508106 () svn ! php ! net
[Download RAW message or body]

rquadling                                Thu, 26 May 2011 16:25:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=311449

Log:
Fix single language build when getting list of languages from SVN.

Changed paths:
    U   phpdoc/doc-base/trunk/scripts/build-chms.php

Modified: phpdoc/doc-base/trunk/scripts/build-chms.php
===================================================================
--- phpdoc/doc-base/trunk/scripts/build-chms.php	2011-05-26 16:15:26 UTC (rev 311448)
+++ phpdoc/doc-base/trunk/scripts/build-chms.php	2011-05-26 16:25:17 UTC (rev 311449)
@@ -115,9 +115,9 @@
 	/**
 	 * We may want to try build a single language
 	 */
-	if($argc >= 2 && in_array($argv[1], $languages))
+	if($argc >= 2 && in_array($argv[1], array_keys($ACTIVE_ONLINE_LANGUAGES)))
 	{
-		$languages = Array($argv[1]);
+		$ACTIVE_ONLINE_LANGUAGES = Array($argv[1] => $ACTIVE_ONLINE_LANGUAGES[$argv[1]]);
 	}

 	/**



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic