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:48:34 UTC

(cassandra-analytics) 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-analytics.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 176c0059 ninja; fix propertyWithDefault using hardcoded string when reading from environment variable
176c0059 is described below

commit 176c00592399c95357a1562bf571c4f265927e9b
Author: Francisco Guerrero <fr...@apache.org>
AuthorDate: Thu Jul 24 16:41:27 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 3f15dc3a..c5839ac2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -303,7 +303,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