jsjohnst Mon Jul 14 12:46:16 2003 EDT Modified files: /phpdoc/scripts missing-entities.php.in Log: Added check to the exec call to not have whitespace at the beginning of the command. Index: phpdoc/scripts/missing-entities.php.in diff -u phpdoc/scripts/missing-entities.php.in:1.10 phpdoc/scripts/missing-entities.php.in:1.11 --- phpdoc/scripts/missing-entities.php.in:1.10 Sun Mar 16 19:11:11 2003 +++ phpdoc/scripts/missing-entities.php.in Mon Jul 14 12:46:16 2003 @@ -17,7 +17,7 @@ # | Gabor Hojtsy <[EMAIL PROTECTED]> | # +----------------------------------------------------------------------+ # -# $Id: missing-entities.php.in,v 1.10 2003/03/17 00:11:11 ae Exp $ +# $Id: missing-entities.php.in,v 1.11 2003/07/14 16:46:16 jsjohnst Exp $ */ set_time_limit(0); @@ -41,10 +41,18 @@ } // Execute a test of the manual -exec( - "@SP_OPTIONS@ $NSGMLS -f $NSGMLS_OUTPUT -i [EMAIL PROTECTED]@ -D . " . - "-s @SRCDIR@/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml" -); +if("@SP_OPTIONS@" == "") { + exec( + "$NSGMLS -f $NSGMLS_OUTPUT -i [EMAIL PROTECTED]@ -D . " . + "-s @SRCDIR@/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml" + ); +} +else { + exec( + "@SP_OPTIONS@ $NSGMLS -f $NSGMLS_OUTPUT -i [EMAIL PROTECTED]@ -D . " . + "-s @SRCDIR@/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml" + ); +} // Try to open files for rewriting $ment = fopen("entities/missing-entities.ent", "w");
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php