summaryrefslogtreecommitdiff
path: root/win32/build/buildconf.js
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-12-04 01:59:46 +0000
committerWez Furlong <wez@php.net>2003-12-04 01:59:46 +0000
commit90fe3fbf7fad1278f4a7ce0a72b2e3e5a7d78f68 (patch)
tree09b9b4736d0f22505abe2f4cf64fed165e280192 /win32/build/buildconf.js
parent35117fdf1be8fa497b7cbc34d7692e4aae6c9f29 (diff)
downloadphp-git-90fe3fbf7fad1278f4a7ce0a72b2e3e5a7d78f68.tar.gz
be safe...
Diffstat (limited to 'win32/build/buildconf.js')
-rw-r--r--win32/build/buildconf.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/win32/build/buildconf.js b/win32/build/buildconf.js
index 77355eeff3..33a7bb4adb 100644
--- a/win32/build/buildconf.js
+++ b/win32/build/buildconf.js
@@ -1,4 +1,4 @@
-// $Id: buildconf.js,v 1.3 2003-12-04 01:37:52 wez Exp $
+// $Id: buildconf.js,v 1.4 2003-12-04 01:59:46 wez Exp $
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: buildconf.js,v 1.3 2003-12-04 01:37:52 wez Exp $ */
+/* $Id: buildconf.js,v 1.4 2003-12-04 01:59:46 wez Exp $ */
// This generates a configure script for win32 build
WScript.StdOut.WriteLine("Rebuilding configure.js");
@@ -36,6 +36,10 @@ function file_get_contents(filename)
function find_config_w32(dirname)
{
+ if (!FSO.FolderExists(dirname)) {
+ return;
+ }
+
var f = FSO.GetFolder(dirname);
var fc = new Enumerator(f.SubFolders);
var c;