From 889531597b9037a42bfddfd73b2122a8eae43395 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Thu, 21 Apr 2005 05:06:49 +0000 Subject: [PATCH] Add a few more modules that don't exist in /trunk/KDE. I'll probably have to end up allowing users to specify the full path at some point so they're not screwed if I don't update the script. svn path=/trunk/kdenonbeta/kdecvs-build/; revision=406867 --- kdesvn-build | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/kdesvn-build b/kdesvn-build index b95e36a..4a7d8a7 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -178,10 +178,23 @@ sub svn_module_url my $module = shift; my $svn_server = get_option($module, 'svn-server'); my $branch = 'trunk/KDE'; + + # The following modules are in /trunk, not /trunk/KDE. There are others, + # but there are the important ones. The hash is associated with the value + # 1 so that we can do a boolean test by looking up the module name. + my %non_trunk_modules = ( + 'extragear' => 1, + 'kdenonbeta' => 1, + 'kdesupport' => 1, + 'koffice' => 1, + 'playground' => 1, + 'qt-copy', => 1, + 'valgrind' => 1, + ); # kdesupport is not actually part of KDE proper, so it is in a different # directory of the Subversion server. - $branch = 'trunk' if $module eq 'kdesupport'; + $branch = 'trunk' if $non_trunk_modules{$module}; # Remove trailing slashes. $svn_server =~ s/\/*$//;