This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new d43ce79f2 BIGTOP-4420 (addendum). Add check too see if the var is 
undefined.
d43ce79f2 is described below

commit d43ce79f24a908257e6c3137dee3900a55f76d51
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Tue May 13 22:29:05 2025 +0900

    BIGTOP-4420 (addendum). Add check too see if the var is undefined.
    
    (cherry picked from commit a2fec82dd73b0e47cdc5c545873457af74670f71)
---
 packages.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages.gradle b/packages.gradle
index edbaceca7..d30dc5d12 100644
--- a/packages.gradle
+++ b/packages.gradle
@@ -734,7 +734,7 @@ def genTasks = { target, packaging ->
   }
   if (nativePackaging) {
     def ptype = nativePackaging.pkg
-    if (ptype.equals(packaging)) {
+    if (!packaging || ptype.equalsIgnoreCase(packaging)) {
       task "$target-pkg" (dependsOn: "$target-$ptype",
           description: "Invoking a native binary packaging target $ptype",
           group: PACKAGES_GROUP) doLast {

Reply via email to