Skip to content

Commit

Permalink
MFH:
Browse files Browse the repository at this point in the history
* Redirect the "1 file(s) copied" message to nul
* Check if configure script was copied, and output an error if it wasn't
  • Loading branch information
KalleZ committed Jan 3, 2009
1 parent 38d47b0 commit b47ae1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion buildconf.bat
@@ -1,5 +1,7 @@
@echo off
cscript /nologo win32\build\buildconf.js %*
SET PHP_BUILDCONF_PATH=%~dp0
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH%
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
SET PHP_SDK_SCRIPT_PATH=

IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'cscript /nologo configure.js --help')
4 changes: 1 addition & 3 deletions win32/build/buildconf.js
Expand Up @@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: buildconf.js,v 1.13.2.2.2.1 2007-01-01 19:32:09 iliaa Exp $ */
/* $Id: buildconf.js,v 1.13.2.2.2.2 2009-01-03 03:27:47 kalle Exp $ */
// This generates a configure script for win32 build

WScript.StdOut.WriteLine("Rebuilding configure.js");
Expand Down Expand Up @@ -259,5 +259,3 @@ C.Write(modules);
C.WriteBlankLines(1);
C.Write(file_get_contents("win32/build/configure.tail"));

WScript.StdOut.WriteLine("Now run 'cscript /nologo configure.js --help'");

0 comments on commit b47ae1b

Please sign in to comment.