adium 5986:511f2f168ad2: Not only delete empty directories, but ...

commits at adium.im commits at adium.im
Sun Apr 23 19:35:30 UTC 2017


details:	http://hg.adium.im/adium/rev/511f2f168ad2
revision:	5986:511f2f168ad2
branch:		adium-1.5.10.4
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Sun Apr 23 21:35:20 2017 +0200

Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them.

diffs (14 lines):

diff -r 5883c460b8cb -r 511f2f168ad2 Release/Makefile
--- a/Release/Makefile	Sun Apr 23 21:05:16 2017 +0200
+++ b/Release/Makefile	Sun Apr 23 21:35:20 2017 +0200
@@ -165,6 +165,10 @@
 	@# delete empty folders (which would interfere with framework signing)
 	find $(BUILD_DIR) -type d -empty -delete
 
+	@# Also delete the symlinks to these directories, otherwise we break Sparle
+	find $(BUILD_DIR) \( -name "Headers" \) -type l -delete
+	find $(BUILD_DIR) \( -name "PrivateHeaders" \) -type l -delete
+
 	@# sign the executable
 ifeq ($(OFFICIAL_BUILD),TRUE)
 	if [ -e ~/adium-password ]; then \



More information about the commits mailing list