Fs2 open on Linux/Checkout Script

From FreeSpace Wiki

Jump to: navigation, search
« Installing the Development Libraries The fs2_open on Linux Guide
Checkout Script
Pre-Compile Configuration »

Note: This step is only for those who want the bleeding-edge source code to compile on their own. You can skip this if you intend to use a provided binary executable.

You can use this script to simplify your checkouts, don't forget to chmod +x it.

#!/bin/bash
CVS="cvs -d:pserver:anonymous:anonymous@warpcore.org:/home/fs2source/cvsroot"
MODULE="fs2_open"
BRANCH="${*}"

${CVS} co -d ${BRANCH} -r ${BRANCH} ${MODULE}

Run the script from a terminal and add the branch you wish to checkout,

./the_script fs2_open_3_6_9

or if you want the latest, and probably the most unstable,

./the_script HEAD