From c1b3599e36b0ad51b69d3c09cd6e28873ae1ab37 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Fri, 22 Feb 2013 13:46:22 -0500
Subject: [PATCH] improved modularity of the dev installer

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

diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 260a2a292..0ca711cf0 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -108,11 +108,13 @@ then
 	rm Gem.pd_linux
 	cd ../packages/linux_make
 	make distclean
-	cd ../../../
+	cd ../../
+	gitfolder=`basename $PWD`
+	cd ../
 	rm -f pd-l2ork-dev-`date +%Y%m%d`.tar.bz2 2> /dev/null
 	echo "tar dev installer..."
-	tar -jcf pd-l2ork-dev-`date +%Y%m%d`.tar.bz2 pure-data
-	cd pure-data/
+	tar -jcf pd-l2ork-dev-`date +%Y%m%d`.tar.bz2 $gitfolder
+	cd $gitfolder
 fi
 
 if [ $full -gt 0 -o $deb -gt 0 ]
@@ -192,7 +194,7 @@ then
 		./autogen.sh
 	elif [ $full -eq 3 ]
 	then
-		echo "Since pd-l2ork relies on a unique version of cwiid library, we will need to install it to make disis_wiimote external work properly. YOU SHOULD REMOVE EXISTING CWIID LIBRARIES PRIOR TO RUNNING THIS INSTALL... No worries though, L2Ork version is fully backwards compatible while also offering unique features like full extension support including the passthrough mode. To install cwiid library go to pure-data/l2ork-addons/cwiid/ folder and install it using the usual:"
+		echo "Since pd-l2ork relies on a unique version of cwiid library, we will need to install it to make disis_wiimote external work properly. YOU SHOULD REMOVE EXISTING CWIID LIBRARIES PRIOR TO RUNNING THIS INSTALL... No worries though, L2Ork version is fully backwards compatible while also offering unique features like full extension support including the passthrough mode. To install cwiid library go to <pd-l2ork-root-git-folder>/l2ork-addons/cwiid/ folder and install it using the usual:"
 		echo
 		echo "./configure"
 		echo "make"
-- 
GitLab