From 6f63b052edef738e04c81dee1aee32228cfaa590 Mon Sep 17 00:00:00 2001 From: build Date: Wed, 21 Jan 2009 18:10:05 +0000 Subject: define the path to the modulessets via sugar.jhbuildrc instead of hard coding the path to the modulesets in config.py use the sugar.jhbuildrc variable --- diff --git a/scripts/config.py b/scripts/config.py index c9a1049..eaa6b36 100644 --- a/scripts/config.py +++ b/scripts/config.py @@ -16,8 +16,6 @@ class Config(jhbuild.config.Config): self.checkoutroot = os.path.join(self.base_dir, 'source') self.tarballdir = os.path.join(self.base_dir, 'source') - self.moduleset = os.path.join(self.base_dir, 'config', - 'modulesets', 'sugar.modules') for package, source in sysdeps.get_packages(): if source and source not in self.skip: diff --git a/sugar.jhbuildrc b/sugar.jhbuildrc index 49c3f50..0a76683 100644 --- a/sugar.jhbuildrc +++ b/sugar.jhbuildrc @@ -1 +1,6 @@ +use_local_modulesets = True +modulesets_dir = os.path.join(os.path.dirname(__file__), 'config/modulesets') +moduleset = 'sugar' + modules = ['meta-sugar'] + -- cgit v0.9.1