summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorKevin Day <blame582@gmail.com>2008-09-30 09:15:17 +0000
committerKevin Day <blame582@gmail.com>2008-09-30 09:15:17 +0000
commitb87bcbd23760e33ec3a20e0faaf2e5ef4a85d6ad (patch)
tree3f9bcd5e248a19c706337055b7a1bc023154d0b9 /update.sh
parent7aa0b5cadf9f37c7d9395aa44e0c461e2b539763 (diff)
downloadmana-client-b87bcbd23760e33ec3a20e0faaf2e5ef4a85d6ad.tar.gz
mana-client-b87bcbd23760e33ec3a20e0faaf2e5ef4a85d6ad.tar.bz2
mana-client-b87bcbd23760e33ec3a20e0faaf2e5ef4a85d6ad.tar.xz
mana-client-b87bcbd23760e33ec3a20e0faaf2e5ef4a85d6ad.zip
fixed the update.sh and autobuild.sh
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/update.sh b/update.sh
index 1402fda9..34c64969 100755
--- a/update.sh
+++ b/update.sh
@@ -2,11 +2,12 @@
#automated script to update aethyra from SVN
#author=Blame <blame@aethyra.com>
#last modified 2008-09-21 Blame
-
-# test for the aethyra client
-if [ ~/src/aethyra ]; then
+file=~/src/aethyra
+file1=~/src
+# test for the aethyra client folder
+if [ -e $file ]; then
#change to the aethyra directory
- cd ~/src/aethyra;
+ cd $file;
#issue the svn update command
svn up;
#issue the autobuild command
@@ -15,11 +16,11 @@ if [ ~/src/aethyra ]; then
exit 1;
else
#make directory /home/user-name/src
- mkdir ~/src
+ mkdir $file1
#change to directory /home/user-name/src
- cd ~/src
+ cd $file1
#execute the svn command to download the client files
- svn co svn://209.168.213.109/client/trunk aethyra
+ svn co svn://www.aethyra.org/client/trunk aethyra
#issue the auto build script to compile the client
./autobuild
echo "congratulations on installing aethyra enjoy"