Make the Xcode fix stuff conditional on being on a Darwin (ie MacOS) platform and this time, use the right syntax for shell tests.

This commit is contained in:
Jeremy Rand 2020-11-26 16:58:14 -05:00
parent 91e3749ebd
commit f8334194f4
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ build: $(BUILDTARGET)
gen: xcodefix
xcodefix:
[ "`uname`" == Darwin ] && 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)