|
|
Information is out dated
If you want to get fancy - you can create a cron tas to sync against the cvs source each week or something to keep it up to date. I just discovered how to use the cvs function - so there may be better ways of doing this (cvs pros - please chime in here!):
You could create file and paste the follwing in it, save it and change to executable. Then your cron job could run the task. Unfortunately the task asks you for a login password each time and I have not fig out a way to encode that into the script.The password is anoncvs when asked.
#!/bin/sh cd /path/to/tmp/dir cvs -d:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs login cvs -z3 -d:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs co src/share/miscYou could download directly to your /usr/share/misc but I am not that brave so I d/l to a tmp dir and move manually
.cvspass
You only need to login once (assuming you don't "cvs logout"). CVS stores the trivially encoded password associated with each cvsroot (the stuff you listed after the -d in the commands above) in ~/.cvspass. CVS also keeps track of which cvsroot corresponds to each checked out directory in <checked_out_dir>/CVS/Root.
Information is out dated
I tried the script and got the following, any ideas?
Information is out dated
cvs login is an interactive command and should not be in the script. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|