cvs: php-src /win32/build confutils.js

From: Date: Tue, 23 Dec 2003 00:36:33 +0000
Subject: cvs: php-src /win32/build confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25404@lists.php.net to get a copy of this message
fmk Mon Dec 22 19:36:33 2003 EDT Modified files: /php-src/win32/build confutils.js Log: Use a variable name so this actually works. Index: php-src/win32/build/confutils.js diff -u php-src/win32/build/confutils.js:1.26 php-src/win32/build/confutils.js:1.27 --- php-src/win32/build/confutils.js:1.26 Mon Dec 22 19:17:15 2003 +++ php-src/win32/build/confutils.js Mon Dec 22 19:36:32 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -// $Id: confutils.js,v 1.26 2003/12/23 00:17:15 fmk Exp $ +// $Id: confutils.js,v 1.27 2003/12/23 00:36:32 fmk Exp $ var STDOUT = WScript.StdOut; var STDERR = WScript.StdErr; @@ -157,12 +157,12 @@ argval = "yes"; } else if (argval == null) { /* nothing */ - } else if (args = argval.match(new RegExp("^shared,(.*)"))) { + } else if (arg_match = argval.match(new RegExp("^shared,(.*)"))) { shared = true; - argval = args[1]; - } else if (args = argval.match(new RegExp("(.*),shared$"))) { + argval = arg_match[1]; + } else if (arg_match = argval.match(new RegExp("^(.*),shared$"))) { shared = true; - argval = args[1]; + argval = arg_match[1]; } ret[0] = shared;

« previous php.cvs (#25404) next »