From d0bdd18b74fde51c1e0019770042b9e548bc7127 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 1 Jun 2016 23:05:40 -0400
Subject: [PATCH] port 4a93e8e2ae2947d2322dde5d3233a68f82873774 from Pd-l2ork:
 minor improvements to the build script to accomodate new miXed submodule

---
 l2ork_addons/tar_em_up.sh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index d233d05c1..4b9ca00b6 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -129,14 +129,12 @@ if [ $full -gt 0 -o $deb -gt 0 ]
 then
 	echo "Pd-L2Ork full installer... IMPORTANT! To ensure you have the most up-to-date submodules, this process requires internet connection to pull sources from various repositories..."
 
-	# init all submodules (only necessary the first time)
-	git submodule init
-
 	if [ -d .git ]; then
 		# check if Gem submodule is empty, and if so do first init
 		if [ "$(ls -A Gem)" ]; then
 			git submodule update
 		else
+			# init all submodules (only necessary the first time)
 			git submodule init
 			git submodule update
 		fi
@@ -185,7 +183,7 @@ then
 	#	then
 		cd l2ork_addons/cwiid/
 		# install cwiid
-		git submodule update
+		# git submodule update
 		aclocal
 		autoconf
 		./configure --with-python=python2
@@ -324,7 +322,7 @@ then
 	#fi
 	# install rtcmix~ external
 	cd rtcmix-in-pd/
-	git submodule update
+	#git submodule update
 	cd RTcmix*
 	./configure
 	#make clean
@@ -346,7 +344,7 @@ then
 	cd ../
 	# install lyonpotpourri
 	cd lyonpotpourri/
-	git submodule update
+	#git submodule update
 	make
 	mkdir -p ../../packages/linux_make/build$inst_dir/lib/pd-l2ork/extra/lyon
 	# do not include cartopol and poltocar since cyclone library already has those
-- 
GitLab