Author: ks156
Date: 2009-03-18 13:00:35 +0100 (Wed, 18 Mar 2009)
New Revision: 4130

Modified:
   software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/installer.sh
Log:
* Fixed a bug in the pytuxisalive installer script


Modified: software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/installer.sh
===================================================================
--- software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/installer.sh      
2009-03-18 11:59:35 UTC (rev 4129)
+++ software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/installer.sh      
2009-03-18 12:00:35 UTC (rev 4130)
@@ -22,21 +22,21 @@
 
 # Create the install script
 echo "#!/bin/bash
-[ -d \$2/lib/tuxdroid/$1 ] && rm -rf \$2/lib/tuxdroid/$1
+[ -d \$2/lib/tuxdroid/python-api ] && rm -rf \$2/lib/tuxdroid/python-api
 [ -d \$2/lib/tuxdroid/ ] || mkdir -p \$2/lib/tuxdroid
-cp -r $1 \$2/lib/tuxdroid/
-cd \$2/lib/tuxdroid/$1
+cp -r python-api \$2/lib/tuxdroid/
+cd \$2/lib/tuxdroid/python-api
 python setup.py install > /dev/null
 cd - > /dev/null
 [ -d \$1 ] || mkdir -p \$1
-cp $1/tuxisalive/api/sh.py \$1/sh.py
+cp python-api/tuxisalive/api/sh.py \$1/sh.py
 [ -d \$2/bin ] || mkdir -p \$2/bin
 echo \"#!/bin/bash\" > \$2/bin/tuxsh
 echo \"python -i \$3/sh.py\" >> \$2/bin/tuxsh
 chmod +x \$2/bin/tuxsh" >> $1/install.sh
 
 # Export the project
-svn export -q "$(svn info |grep URL |sed 's/URL: //g')" $1/$1
+svn export -q "$(svn info |grep URL |sed 's/URL: //g')" $1/python-api
 
 # Create tarball
 rev=`svn info |grep "Last Changed Rev"`


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to