1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into devel

This commit is contained in:
Kaveh Vahedipour 2016-04-11 14:55:09 +02:00
commit be6b410a3e
1 changed files with 5 additions and 2 deletions

View File

@ -63,8 +63,11 @@ function findFreePort() {
}
function main(argv) {
let CMakeCache = fs.readFileSync('build/CMakeCache.txt');
let thePython = CMakeCache.toString().match(/^PYTHON_EXECUTABLE:FILEPATH=(.*)$/m)[1];
let thePython = 'python';
if (fs.exists('build/CMakeCache.txt')) {
let CMakeCache = fs.readFileSync('build/CMakeCache.txt');
thePython = CMakeCache.toString().match(/^PYTHON_EXECUTABLE:FILEPATH=(.*)$/m)[1];
}
let options = {};
let serverEndpoint = '';
let startServer = true;