From e48eac378bebdd4c3389dedb6984b80c0f69c529 Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Wed, 7 Mar 2018 23:52:31 +0100
Subject: [PATCH] Add missing clean action for OSX.

---
 l2ork_addons/tar_em_up.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 1517ea821..5fbb7208e 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -214,6 +214,7 @@ then
 	#	echo "Since we are doing a complete recompile we are assuming we will need to install l2ork version of the cwiid library. You will need to remove any existing cwiid libraries manually as they will clash with this one. L2Ork version is fully backwards compatible while also offering unique features like full extension support including the passthrough mode. YOU SHOULD REMOVE EXISTING CWIID LIBRARIES PRIOR TO RUNNING THIS INSTALL... You will also have to enter sudo password to install these... Press any key to continue or CTRL+C to cancel install..."
 	#	read dummy
 		# clean files that may remain stuck even after doing global make clean (if any)
+		test $os == "osx" && make -C packages/darwin_app clean || true
 		cd externals/miXed
 		make clean || true # this may fail on 1st attempt
 		cd ../
-- 
GitLab