shithub: choc

Download patch

ref: dd6f51689cc6e27976d60822863bce05dc0f107f
parent: 709862f79010c66686c88574dd8f2a3f1b267180
author: Simon Howard <fraggle@soulsphere.org>
date: Thu Jun 16 19:44:45 EDT 2022

`mkdir -f` to avoid errors about directory already existing.

--- a/pkg/osx/GNUmakefile
+++ b/pkg/osx/GNUmakefile
@@ -89,12 +89,12 @@
 	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