BASH Script for Automatic Wine CVSing
Hello all.
I am trying to write a simple BASH script to automatically download, compile and install Wine from CVS.
This is my first attempt to write a bash script and I am stuck on how to have the script automatically login with the CVS password "cvs".
Here is what I have so far:
#!/bin/bash
# Automatic Wine compilation from CVS
# Run as root in home directory (eg: /root)
export CVSROOT=:pserver:cvs@cvs.winehq.org:/home/wine
cvs login
# What do I tell it to login with password "cvs"?
cvs -z 0 checkout wine
cd wine
./configure
make depend && make
make install
echo "Wine build complete."
Thanks in advance.
Last edited by iraubergeek; 02-22-2005 at 08:31 PM.
|