You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by fr...@apache.org on 2025/07/24 23:08:12 UTC
(cassandra-sidecar) branch trunk updated: ninja; fix propertyWithDefault using hardcoded string when reading from environment variable
This is an automated email from the ASF dual-hosted git repository.
frankgh pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-sidecar.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6d96a75e ninja; fix propertyWithDefault using hardcoded string when reading from environment variable
6d96a75e is described below
commit 6d96a75e9940e29ee675e9c60955bdd289e0f203
Author: Francisco Guerrero <fr...@apache.org>
AuthorDate: Thu Jul 24 15:26:59 2025 -0700
ninja; fix propertyWithDefault using hardcoded string when reading from environment variable
---
build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index b09e2d18..a60260af 100644
--- a/build.gradle
+++ b/build.gradle
@@ -69,7 +69,7 @@ ext {
// https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_properties_and_system_properties
propertyWithDefault = { property, defaultValue ->
def value = defaultValue
- def envValue = System.getenv("CASSANDRA_DEP_DIR")
+ def envValue = System.getenv(property)
if (envValue != null) {
value = envValue
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org