From 2199bbef5122d81a5bb5958d62f1c9b1d7d7696a Mon Sep 17 00:00:00 2001 From: Josh Comer Date: Sat, 18 Jan 2020 08:48:34 -0400 Subject: [PATCH] Force application symlink on macOS make build --- CHANGELOG.md | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56e0ccd..4f47f4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Regression which added a UNC path prefix to the working directory on Windows - CLI parameters discarded when config is reload - Blurred icons in KDE task switcher (alacritty.ico is now high-res) +- Consecutive builds failing on macOS due to preexisting `/Application` symlink ## 0.4.1 diff --git a/Makefile b/Makefile index 8fde17b..a258980 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ $(APP_NAME): $(TARGET) $(APP_TEMPLATE) dmg: | $(DMG_NAME) ## Pack Alacritty.app into .dmg $(DMG_NAME): $(APP_NAME) @echo "Packing disk image..." - @ln -s /Applications $(DMG_DIR)/Applications + @ln -sf /Applications $(DMG_DIR)/Applications @hdiutil create $(DMG_DIR)/$(DMG_NAME) \ -volname "Alacritty" \ -fs HFS+ \