kde-projects: Fixup to my last fixup, fallback to using name.

Really I should probably factor out the various 'proj'-creating routines
into a single point of awesome but for now let's just use the old
behavior as a backup in case users give command-line modules...
wilder
Michael Pyne 13 years ago
parent 2a48c1abe2
commit 55f9380581
  1. 4
      kdesrc-build

@ -873,8 +873,8 @@ sub expandXMLModules
# it in by setting a flag to be used by the higher-level subroutine.
$repositoryMetadataRequired = 1;
my $name = $moduleSet->getOption('#xml-search-path') or
croak_internal("Somehow tried to read XML data for non-XML module");
my $name = $moduleSet->getOption('#xml-search-path') ||
$moduleSet->name(); # Best-guess fallback
my $srcdir = $ctx->getSourceDir();
my $xmlReader = ksb::KDEXMLReader->new($databaseFile);

Loading…
Cancel
Save