So what exactly do I need to change in this script to get the latest non-cvs 3.6.9?
#!/bin/bash
# CVS Checkout and Update Script for fs2_open
CVS_LINE="cvs -d:pserver:anonymous:
[email protected]:/home/fs2source/cvsroot" # The cvs command
if [ "$UID" = 0 ]; then # check if user is root, and if so, echo a warning.
echo "You are root. If this is a checkout, all files \
will be created with root as the owner."
sleep 3
fi
if [ -e ./fs2_open ]; then # check if directory fs2_open exists
echo "Found fs2_open, We are updating an old checkout."
CVS_ATTEMPT=0 # This updates the checkout.
until [ $CVS_ATTEMPT = 1 ]; do
$CVS_LINE login && \
$CVS_LINE update fs2_open && \
let CVS_ATTEMPT=1
done
else
echo "No fs2_open found, This is a new checkout."
CVS_ATTEMPT=0 # This creates a new checkout.
until [ $CVS_ATTEMPT = 1 ]; do
$CVS_LINE login && \
$CVS_LINE co fs2_open && \
let CVS_ATTEMPT=1
done
fi