From 1615be4ff39d1ce3304e87b2ddaf645d4e9931cf Mon Sep 17 00:00:00 2001 From: David Roberts Date: Tue, 20 Dec 2016 11:03:00 +0000 Subject: [PATCH] Moved the C++ code under the cpp sub-directory (elastic/elasticsearch#584) The $PRELERT_SRC_HOME environment variable is replaced with $CPP_SRC_HOME, which points to the cpp sub-directory off the repository root Original commit: elastic/x-pack-elasticsearch@02ef6d6be625c9030539f28b3235d4fc2be9720d --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ca34bbf0200..57c98f3c9cf 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ if (['true', 'false', 'auto'].contains(cppEnabledStr) == false) { project.ext.cppEnabled = cppEnabledStr == 'true' if (cppEnabledStr == 'auto') { // Disable the C++ build if the 3rd party tools/libraries aren't available - String[] cmdArray = [ project.ext.bash, '-c', 'source cpp/set_env.sh && 3rd_party/3rd_party.sh --check' ] + String[] cmdArray = [ project.ext.bash, '-c', 'source cpp/set_env.sh && cpp/3rd_party/3rd_party.sh --check' ] Process checkProcess = Runtime.getRuntime().exec(cmdArray, null, rootDir) StringBuffer checkOutput = new StringBuffer() checkProcess.consumeProcessOutputStream(checkOutput)