summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Ungureanu <cristian.ungureanu@gmail.com>2021-11-30 09:43:01 +0200
committerCristian Ungureanu <cristian.ungureanu@gmail.com>2021-11-30 09:43:01 +0200
commit5d5cf9581bfb7fb92df367ea326b18c5b71cc4e4 (patch)
treee5b1ac7bd44d12bad94b7f5f2d4ff85293b3be49
parentacd22a1811e54c53472c15600c541922d779569f (diff)
downloadATCD-5d5cf9581bfb7fb92df367ea326b18c5b71cc4e4.tar.gz
Fixed a minor OS version comparison error.
-rw-r--r--ACE/include/makeinclude/platform_macosx.GNU4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/include/makeinclude/platform_macosx.GNU b/ACE/include/makeinclude/platform_macosx.GNU
index aad2df12a20..ca08204574f 100644
--- a/ACE/include/makeinclude/platform_macosx.GNU
+++ b/ACE/include/makeinclude/platform_macosx.GNU
@@ -45,13 +45,13 @@ else ifeq ($(MACOS_MAJOR_VERSION),11)
MACOS_CODENAME = $(MACOS_CODENAME_VER_11_latest)
endif
else ifeq ($(MACOS_MAJOR_VERSION),12)
- ifeq ($(shell test $(MACOS_MINOR_VERSION) -gt 2; echo $$?),0)
+ ifeq ($(shell test $(MACOS_MINOR_VERSION) -gt 0; echo $$?),0)
## if the detected version is greater than the latest know version,
## just use the latest known version
MACOS_CODENAME = $(MACOS_CODENAME_VER_12_latest)
endif
else
- ## Unsupported major version
+ ## Unsupported major version -- will fallback to the last known version.
MACOS_CODENAME = $(MACOS_CODENAME_VER_12_latest)
endif