aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkout-developer-layout.sh18
-rwxr-xr-xscripts/update-developer-layout.sh6
2 files changed, 9 insertions, 15 deletions
diff --git a/scripts/checkout-developer-layout.sh b/scripts/checkout-developer-layout.sh
index d44c8762..1591ad42 100755
--- a/scripts/checkout-developer-layout.sh
+++ b/scripts/checkout-developer-layout.sh
@@ -19,31 +19,23 @@ print_usage ()
exit
}
+URL="https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/"
+
if [ $# -eq 0 ]; then
- export CVSROOT=":pserver:anonymous@pure-data.cvs.sourceforge.net:/cvsroot/pure-data"
- echo "Checking out anonymously. Give your SourceForge ID as an argument otherwise."
- echo "The anonymous password is: anoncvs"
- cvs login
+ echo "Checking out anonymously. Give your SourceForge ID if you don't want that."
+ svn checkout $URL pure-data
elif [ "$1" == "--help" ]; then
print_usage
elif [ "$1" == "-h" ]; then
print_usage
elif [ $# -eq 1 ]; then
- export CVSROOT=":ext:${1}@pure-data.cvs.sourceforge.net:/cvsroot/pure-data"
+ svn checkout --username $1 $URL pure-data
else
print_usage
fi
-mkdir pure-data
cd pure-data
-for section in abstractions doc extensions externals packages scripts; do
- cvs checkout $section
-done
-
-# For Pd-extended, "pd" needs to be a specific version currently, not HEAD
-cvs checkout -r stable_0_40 pd
-
# Gem is still separate
echo -e "\n\n The password to the Gem anonymous CVS access is blank, so just press Enter\n"
export CVSROOT=:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem
diff --git a/scripts/update-developer-layout.sh b/scripts/update-developer-layout.sh
index f58ea5e6..6364ad10 100755
--- a/scripts/update-developer-layout.sh
+++ b/scripts/update-developer-layout.sh
@@ -13,8 +13,10 @@
cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/..
cd $cvs_root_dir
-
-for section in abstractions doc extensions externals packages pd scripts Gem GemLibs; do
+echo "Running svn update:"
+svn update
+echo "Running cvs update:"
+for section in Gem GemLibs; do
echo "$section"
cd $section
cvs up -Pd