From 91e3749ebd95167216356ac52aec59f5c2edf6c1 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Mon, 23 Nov 2020 00:09:56 -0500 Subject: [PATCH] Make the Xcode fix stuff conditional on being on a Darwin (ie MacOS) platform. --- make/tail.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/tail.mk b/make/tail.mk index d4d5340..efc0c04 100644 --- a/make/tail.mk +++ b/make/tail.mk @@ -96,7 +96,7 @@ build: $(BUILDTARGET) gen: xcodefix xcodefix: - defaults write "$(ORCAM_PLUGIN_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)s -array `defaults read "$(XCODE_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)` || true + [ "`uname`" == Darwin ] && defaults write "$(ORCAM_PLUGIN_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)s -array `defaults read "$(XCODE_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)` || true clean: genclean $(RM) "$(TARGETDIR)/$(PGM)" $(BINTARGET)