All pastes #478875 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-09 12:26 UTC
rendered paste body
Save stuff below as a .sh in your checkout XBMC folder
*****************************************************

#!/bin/sh
#
# $Header$
#unix shell script to fetch latest svn, make, then run the fresh compilation
#script should work if you followed Readme.Linux and have extracted a T3CH builds XBMC folder to $HOME/Desktop

#userconfig begins
home_folder=$HOME
aux_folder=/Desktop/XBMC #where under $HOME the extracted XBMC folder is located
#userconfig ends
clear
 echo "---> Doing a SVN Checkout"
cd $home_folder
svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC
clear

 echo "---> cleaning old compile ..."
cd XBMC
make clean
clear

 echo "---> ... and making a new compile"
make
 if [ $? -eq 1 ]
 then
echo "$0 : ***ERROR*** Build failed, aborting..."
exit 1
 fi
clear

 echo "---> Copying file "
cd $home_folder
cp -v XBMC/XboxMediaCenter $home_folder$aux_folder
 if [ $? -eq 1 ]
 then
echo "$0 : ***ERROR*** Copy Failed"
exit 1
 fi
clear

 echo "---> Running XBMC"
$home_folder$aux_folder/XboxMediaCenter
 echo "Thanks for testing Linux XBMC!!"