From 1d1ef2fbe04b4544a03e13acd46bbc045ef337b9 Mon Sep 17 00:00:00 2001 From: Sophia Guo Date: Thu, 5 Dec 2024 09:30:55 -0500 Subject: [PATCH] Format Signed-off-by: Sophia Guo --- .../reproducibleCompare/reproducible.mk | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/system/reproducibleCompare/reproducible.mk b/test/system/reproducibleCompare/reproducible.mk index 2f858a16a..692fc9063 100644 --- a/test/system/reproducibleCompare/reproducible.mk +++ b/test/system/reproducibleCompare/reproducible.mk @@ -12,25 +12,25 @@ # ******************************************************************************** ifndef SBOM_FILE -SBOM_FILE := $(shell ls $(TEST_ROOT)/../jdkbinary/ | grep "sbom" | grep -v "metadata") -ifeq ($(strip $(SBOM_FILE)),) -$(error ERROR! NO SBOM_FILE AVAILABLE) -endif -SBOM_FILE := $(TEST_ROOT)/../jdkbinary/$(SBOM_FILE) + SBOM_FILE := $(shell ls $(TEST_ROOT)/../jdkbinary/ | grep "sbom" | grep -v "metadata") + ifeq ($(strip $(SBOM_FILE)),) + $(error ERROR! NO SBOM_FILE AVAILABLE) + endif + SBOM_FILE := $(TEST_ROOT)/../jdkbinary/$(SBOM_FILE) endif ifndef JDK_FILE -JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.tar.gz') -ifneq (,$(findstring win,$(SPEC))) -JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.zip') -endif -ifeq ($(strip $(JDK_FILE)),) -$(error ERROR! NO JDK_FILE AVAILABLE) -endif + JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.tar.gz') + ifneq (,$(findstring win,$(SPEC))) + JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.zip') + endif + ifeq ($(strip $(JDK_FILE)),) + $(error ERROR! NO JDK_FILE AVAILABLE) + endif endif ifneq (,$(findstring linux,$(SPEC))) -SBOM_FILE := $(subst $(TEST_ROOT)/../jdkbinary,/home/jenkins/test,$(SBOM_FILE)) + SBOM_FILE := $(subst $(TEST_ROOT)/../jdkbinary,/home/jenkins/test,$(SBOM_FILE)) endif RM_DEBUGINFO := $(shell find $(TEST_JDK_HOME) -type f -name "*.debuginfo" -delete) \ No newline at end of file