* Don't try to deal with modules that aren't configured in ~/.kdecvs-buildrc,

this helps to deal with typos on the command line.

svn path=/trunk/kdenonbeta/kdecvs-build/; revision=312189
wilder
Michael Pyne 22 years ago
parent 5c1c50aaa2
commit 6392d168fa
  1. 18
      kdecvs-build

@ -846,6 +846,12 @@ sub handle_updates
foreach $module (@{$update_ref})
{
if (not exists $package_opts{$module})
{
print "Unknown module $module, configure it in ~/.kdecvs-buildrc.\n";
next;
}
next if get_option($module, 'no-cvs');
my $command;
@ -1219,6 +1225,12 @@ sub handle_build
foreach $module (@{$build_ref})
{
if (not exists $package_opts{$module})
{
print "Unknown module $module, configure it in ~/.kdecvs-buildrc.\n";
next;
}
next if get_option ($module, 'manual-build');
update_module_environment ($module);
@ -1312,6 +1324,12 @@ sub handle_install
next;
}
if (not exists $package_opts{$module})
{
print "Unknown module $module, configure it in ~/.kdecvs-buildrc.\n";
next;
}
if (not -e "$kdecvs/build/$module" ||
not -e "$kdecvs/build/$module/Makefile")
{

Loading…
Cancel
Save