This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new a2fec82dd BIGTOP-4420 (addendum). Add check too see if the var is
undefined.
a2fec82dd is described below
commit a2fec82dd73b0e47cdc5c545873457af74670f71
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.
---
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 {