Pages: [1]
  Print  
Author Topic: SVN Auto-Updater  (Read 7659 times)
Catoptromancy
Nub


Cakes 0
Posts: 4


« on: July 10, 2007, 10:54:09 PM »

I made a shell script that auto updates, builds all the pk3s and binaries, and moves them to the proper folder. All you really need to do to play the latest svn is "sh svnupdater" then go to the  ~/.oa-svn/  folder and and set the binary permission to run as an executable.
Make sure main svn folder is named  /home/yourusername/.oasvn/  and it will work smoothly.
After renaming/moving the main svn folder once, it takes only 2 steps to be playing it.
This shell needs to be in the main svn folder.

This will create a new directory in /home/yourusername/.oa-svn/  to keep the svn separate from the playable files.

http://www.relentlessbeating.com/catoptromancy/openarena/svnupdater

EDIT> Updated so that the auto generated folder is deleted, then remade with the latest built svn. Also made it copy over the text files.
« Last Edit: July 11, 2007, 12:20:22 PM by Catoptromancy » Logged
hyp3rfocus
Guest
« Reply #1 on: July 11, 2007, 11:37:39 AM »

at the start of the script you create the ~/.oa-svn/ directory, but later on the script starts referring to the ~/.oasvn (no hyphen) directory. is that directory created by one of the build scripts?
Logged
Catoptromancy
Nub


Cakes 0
Posts: 4


« Reply #2 on: July 11, 2007, 11:44:40 AM »

Yes, I should have been more specific. It creates a new directory .oa-svn, this will only contain the binaries and the baseoa with pk3s.
It keeps the main svn folder clean and separate from the working/playing directory.

The 3 shell scripts that come with the svn dumps the usable files in various places. My shell runs those scripts but also moves the useful files into a directory to where they are immediately usable.




« Last Edit: July 11, 2007, 11:50:04 AM by Catoptromancy » Logged
Pages: [1]
  Print  
 
Jump to: