summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Comer <joshjcomer@gmail.com>2020-01-18 08:48:34 -0400
committerKirill Chibisov <contact@kchibisov.com>2020-01-18 15:48:34 +0300
commit2199bbef5122d81a5bb5958d62f1c9b1d7d7696a (patch)
tree4eaa719b65259d37086f9ddd97d5211e47f0a7e9
parentbd96e7f7694d9c6108baf0dc091eb6a68ad54041 (diff)
downloadalacritty-2199bbef5122d81a5bb5958d62f1c9b1d7d7696a.tar.gz
alacritty-2199bbef5122d81a5bb5958d62f1c9b1d7d7696a.zip
Force application symlink on macOS make build
-rw-r--r--CHANGELOG.md1
-rw-r--r--Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 56e0ccd9..4f47f4fb 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 8fde17b0..a2589801 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+ \