cvs: livedocs / build.php

From: Date: Thu, 28 Jun 2007 05:41:42 +0000
Subject: cvs: livedocs / build.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376898@lists.php.net to get a copy of this message
gwynne Thu Jun 28 05:41:42 2007 UTC Modified files: /livedocs build.php Log: Fix porting bug http://cvs.php.net/viewvc.cgi/livedocs/build.php?r1=1.1&r2=1.2&diff_format=u Index: livedocs/build.php diff -u livedocs/build.php:1.1 livedocs/build.php:1.2 --- livedocs/build.php:1.1 Tue Jun 26 00:10:59 2007 +++ livedocs/build.php Thu Jun 28 05:41:42 2007 @@ -65,7 +65,7 @@ function parse_options() { // No Console_Getopt, no decent getopt() implementation; just use the old environment vars for now - define( 'CONFIGURE_PHP_DOC', isset( $_ENV[ 'CONFIGURE_PHP_DOC' ] ) ? $_ENV[ 'CONFIGURE_PHP_DOC' ] : TRUE ); + define( 'CONFIGURE_PHP_DOC', isset( $_ENV[ 'CONFIGURE_PHP_DOC' ] ) ? ( $_ENV[ 'CONFIGURE_PHP_DOC' ] == 'no' || $_ENV[ 'CONFIGURE_PHP_DOC' ] == 0 ? FALSE : TRUE ) : TRUE ); define( 'PHPDOC_CONFIG_OPTS', isset( $_ENV[ 'PHPDOC_CONFIG_OPTS' ] ) ? $_ENV[ 'PHPDOC_CONFIG_OPTS' ] : '' ); } @@ -114,7 +114,7 @@ // For debugging: // sneaky_shell_exec( "xmllint --format \"{$GENDIR}/toc-ugly.xml\" > {$GENDIR}/toc.xml" ); - sneaky_shell_exec( "{$PHP} -f \"{$LIVEDOCS}/mktoc.php\" > \"{$GENDIR}/toc-insert.sql\"" ); + sneaky_shell_exec( "{$PHP} -f \"{$LIVEDOCS}/mktoc.php\" \"{$GENDIR}/toc-ugly.sql\" > \"{$GENDIR}/toc-insert.sql\"" ); } buildmsg( "Making index for {$i}: " . date( DATE_RFC2822 ) );

« previous php.doc (#969376898) next »