foxygit / doom Log in
commit dd6f51689cc6e27976d60822863bce05dc0f107f
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Thu Jun 16 23:44:45 2022 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Thu Jun 16 23:53:03 2022 -0400

    `mkdir -f` to avoid errors about directory already existing.
---
 pkg/osx/GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/osx/GNUmakefile b/pkg/osx/GNUmakefile
index 7911bffe..7b0b2a00 100644
--- a/pkg/osx/GNUmakefile
+++ b/pkg/osx/GNUmakefile
@@ -89,12 +89,12 @@ $(STAGING_DIR): launcher $(TOPLEVEL_DOCS) app.icns wadfile.icns
 	cp disk/background.png $(STAGING_DIR)/background.png

 app.icns: $(TOPLEVEL)/data/doom.png
-	mkdir app.iconset
+	mkdir -f app.iconset
 	sips -z 64 64 $< --out app.iconset/icon_32x32@2x.png
 	iconutil -c icns app.iconset

 wadfile.icns: $(TOPLEVEL)/data/wadfile.png
-	mkdir wadfile.iconset
+	mkdir -f wadfile.iconset
 	sips -z 64 64 $< --out wadfile.iconset/icon_32x32@2x.png
 	iconutil -c icns wadfile.iconset