com php-src: pre create the build dir: win32/build/confutils.js

From: Date: Wed, 12 Nov 2014 18:06:09 +0000
Subject: com php-src: pre create the build dir: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83070@lists.php.net to get a copy of this message
Commit: 4d7a21d0f25da3258672a24cbe109cde00830320 Author: Anatol Belski <ab@php.net> Wed, 12 Nov 2014 19:06:09 +0100 Parents: 29b28f7ce617c41be09db6f40fdc26e782bb882e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4d7a21d0f25da3258672a24cbe109cde00830320 Log: pre create the build dir otherwise response file generation might fail Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index 181230f..7489e05 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2717,6 +2717,10 @@ function setup_zts_stuff() DEFINE("PHPLIB", "php" + PHP_VERSION + ".lib"); } } + + if (!FSO.FolderExists(get_define('BUILD_DIR'))) { + FSO.CreateFolder(get_define('BUILD_DIR')); + } } function php_build_option_handle()

« previous php.cvs (#83070) next »