Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Island Roots

macrumors regular
Original poster
Sep 26, 2003
178
0
Here is the commands I use in Terminal to download the latest CVS of Adium to my ~/Documents/CVS/Adium folder:

Code:
[Justin-Hancocks-Computer:~] justinha% cvs -d:pserver:anonymous@cvs.adiumx.com:/cvsroot/adium login
(Logging in to [email]anonymous@cvs.adiumx.com[/email])
CVS password: 
[Justin-Hancocks-Computer:~] justinha% cd ~/Documents/CVS/Adium
[Justin-Hancocks-Computer:~/Documents/CVS/Adium] justinha% cvs -z3 update -Pd
xxxxxxx
(List of files being downloaded)
xxxxxxx
[Justin-Hancocks-Computer:~/Documents/CVS/Adium] justinha%
There is no password for the server, however you must hit return when it asks for the password. Here is the AppleScript I've created (which doesn't work at the moment):

Code:
do shell script "cvs -d:pserver:anonymous@cvs.adiumx.com:/cvsroot/adium login" password ""
do shell script "cd ~/Documents/CVS/Adium"
do shell script "cvs -z3 update -Pd"
I guessed on the password "" part; I doubt that is correct. Also, how do I instruct the update to download the contents to ~/Documents/CVS/Adium? I have a feeling it won't download them to that directory with the current cd command I'm using.
Ideas?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.