File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
# ===========================================================================
2
- # (c) Copyright IBM Corp. 2017, 2021 All Rights Reserved
2
+ # (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved
3
3
# ===========================================================================
4
4
# This code is free software; you can redistribute it and/or modify it
5
5
# under the terms of the GNU General Public License version 2 only, as
@@ -76,7 +76,7 @@ ALL_TARGETS += debug-image
76
76
test-image-openj9 : exploded-image
77
77
@+$(OPENJ9_MAKE) openj9_test_image
78
78
ifneq ($(COMPILE_TYPE), cross)
79
- $(JDK_OUTPUTDIR)/bin/java -version 2>&1 | $(TEE ) $(TEST_IMAGE_DIR)/openj9/java-version.txt
79
+ rc=0; $(JDK_OUTPUTDIR)/bin/java -version >$(TEST_IMAGE_DIR)/openj9/java-version.txt 2>&1 || rc="$$?"; $(CAT ) $(TEST_IMAGE_DIR)/openj9/java-version.txt; exit "$$rc"
80
80
endif
81
81
82
82
ALL_TARGETS += test-image-openj9
You can’t perform that action at this time.
0 commit comments