diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-19 22:51:01 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-11-19 22:51:01 +0000 |
commit | af87cc2d0c172910d40509fec79a9a6df0492759 (patch) | |
tree | 6063bfddbed538f5379cd6068bd1c57cbac7daf2 | |
parent | e6cb7154cad711087524d20c074cf23ec13f6054 (diff) |
wrote script which checks out everything from CVS into a folder called pure-data following the 'Standard Developer's Layout' doc
svn path=/trunk/; revision=3976
-rwxr-xr-x | scripts/checkout-developer-layout.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/checkout-developer-layout.sh b/scripts/checkout-developer-layout.sh new file mode 100755 index 00000000..a8a5f556 --- /dev/null +++ b/scripts/checkout-developer-layout.sh @@ -0,0 +1,39 @@ +#!/bin/sh + +# this script automatically generates a directory with all of the Pd code out +# of CVS in the standard developer's layout. <hans@at.or.at> + +# Usage: +# - with no arguments, it will check out the code using anonymous CVS. +# - to check out using your SourceForge ID, add that as the argument + +# Be aware that SourceForge's anonymous CVS server is generally 24 hours +# behind the authenticated CVS. + +function print_usage () +{ + echo " " + echo "Usage: $0 [sourceforge ID]" + echo " if no ID is given, it will check out anonymously" + echo " " + exit +} + +if [ $# -eq 0 ]; then + echo "Checking out anonymously. Give your SourceForge ID as an argument otherwise." + CVSROOT=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data" +elif [ "$1" == "--help" ]; then + print_usage +elif [ "$1" == "-h" ]; then + print_usage +elif [ $# -eq 1 ]; then + CVSROOT=":ext:${1}@cvs.sourceforge.net:/cvsroot/pure-data" +else + print_usage +fi + +mkdir pure-data && cd pure-data +for section in abstractions doc extensions externals pd scripts; do + cvs checkout $section +done + |